_thread not being enabled
Posted: Tue Nov 26, 2019 6:46 am
As you can see I am making with _thread:
But it does not appear to be enabled:
Code: Select all
make -j6 BOARD=PYBD_SF6 FROZEN_MANIFEST= FROZEN_MPY_DIR=/nfs/qnap/dev/uPython/bash/../build/micropython/micropython/ports/stm32/modules MICROPY_PY_THREAD=1
Code: Select all
import MicroWebSrv2
---------------------------
- Python pkg MicroWebSrv2 -
- version 2.0.5 -
- by JC`zic & HC2 -
---------------------------
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "MicroWebSrv2/__init__.py", line 15, in <module>
File "MicroWebSrv2/libs/XAsyncSockets.py", line 7, in <module>
ImportError: no module named '_thread'
>>>
Code: Select all
help('modules')
MicroWebSrv2/__init__ dht uarray uos
MicroWebSrv2/httpRequest framebuf uasyncio/__init__ urandom
MicroWebSrv2/httpResponse gc uasyncio/core ure
MicroWebSrv2/libs/XAsyncSockets jsondb ubinascii uselect
MicroWebSrv2/libs/urlUtils logging ubluetooth usocket
MicroWebSrv2/microWebSrv2 lwip ucollections ussl
MicroWebSrv2/mods/PyhtmlTemplate math ucryptolib ustruct
MicroWebSrv2/mods/WebSockets micropython uctypes utime
MicroWebSrv2/webRoute network uerrno utimeq
__main__ pkg_resources uhashlib uwebsocket
_onewire pyb uheapq uzlib
_webrepl sh uio wget
builtins stm ujson wlan
cmath sys umachine www
Plus any modules on the filesystem
>>>