Page 1 of 1

example_test.py Windows 10

Posted: Thu Feb 25, 2021 2:57 pm
by brian_m_a
Windows 10 system, using VSCode with the esp-idf extension. I am able to compile and upload example projects to the ESP32 device. When I try to use accompanying example_test.py I get the following error:

example_test.py", line 13, in <module>
import ttfw_idf
ModuleNotFoundError: No module named 'ttfw_idf'


How do I overcome this?

Re: example_test.py Windows 10

Posted: Thu Feb 25, 2021 6:04 pm
by ESP_Roland
Hi Brian,

you can try to add %IDF_PATH%/tools and %IDF_PATH%/tools/ci/python_packages to the PYTHONPATH environment variable. This is the way how we use it on Linux. I haven't tried this on Windows.