Page 1 of 1

CC3200 upip error

Posted: Tue Oct 02, 2018 9:05 am
by M.fathy
recently i run micropython on my simplelink CC3200 LaunchPad as steps :
[(http://processors.wiki.ti.com/index.php ... hon_CC3200)]
but i cant find upip and i have not find any way to install it on my board
has any one find way to install?
the error from repl as

Code: Select all

import upip Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: module not found 

Re: CC3200 upip error

Posted: Tue Oct 02, 2018 10:29 am
by pythoncoder
You should be able to install upip.py to your PC with

Code: Select all

pip install micropython-upip
Then copy the files upip.py and upip_utarfile.py to your device. However I couldn't get the above command to work. Another approach is to get the files from the official source tree.

That said I haven't run upip on CC3200 so I can't guarantee success. In particular there may be other dependencies you need to install.

In general modules can be installed simply by copying Python source files to the target's filesystem.

Re: CC3200 upip error

Posted: Tue Oct 02, 2018 5:29 pm
by M.fathy
Before I try to download file by ampy I try to import all modules that is included the upip
And upip_utarfile and I am shocked that uctypes built-in not build in board I am not sure that is quitly building right if someone have issue like this or another way to build the micropython firmware with all essentially required modules?