AttributeError: module 'sqnsupgrade' has no attribute 'run'
From the manual, to flash NB-IoT firmware:
$ python3 import sqnsupgrade sqnsupgrade.run('Serial_Port', '/path/to/upgdiff_old-to-new.dup')
What happens in reality:
sqnsupgrade.run('COM4', 'NB1-41019/NB1-41019.dup') Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'sqnsupgrade' has no attribute 'run'
Fix: for others running into this same issue. I didn't RTFM properly. You absolutely need to set your terminal inside the directory where sqnsupgrade.py is located with the other *.py files (on the PC side). Don't put them in a sub-directory. I found it weird that Python found the module, but not the function within the module. Probably because I'm too n00b though.