micropython-esp32-ulp: Can't get it to run

_Originally posted by @kjm1102 in https://github.com/ThomasWaldmann/py-esp32-ulp/issues/61#issuecomment-1030456715_ :

I can’t get it to run Traceback (most recent call last): File "<stdin>", line 4, in <module> ImportError: no module named 'esp32_ulp'

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16

Most upvoted comments

Also moved from #61, originally by @wnienhaus :

That is surprising. Could you paste here what command you used and which port of MicroPython you tried it with?

Some things to check/try:

  • In case you used the unix port and cloned this repo somewhere, make sure you are in the root directory of this repository (not in the esp32_ulp subdirectory) when trying import esp32_ulp.
  • If you are using the esp32 port and used upip to install the micropython-py-esp32-ulp module, then upip by usually installs this into the /lib directory. Ensure that /lib is part of your path, i.e. import sys; print(sys.path)