example_test.py Windows 10

brian_m_a
Posts: 1
Joined: Thu Feb 25, 2021 2:48 pm

example_test.py Windows 10

Postby brian_m_a » Thu Feb 25, 2021 2:57 pm

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?

User avatar
ESP_Roland
Posts: 265
Joined: Tue Oct 09, 2018 10:28 am

Re: example_test.py Windows 10

Postby ESP_Roland » Thu Feb 25, 2021 6:04 pm

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.

Who is online

Users browsing this forum: Bing [Bot] and 79 guests