espressif / vscode-esp-idf-extension

Visual Studio Code extension for ESP-IDF projects
Apache License 2.0
1.04k stars 302 forks source link

Using existing Python install results in failure to find module 'future' when building. (VSC-183) #8

Closed Devenda closed 4 years ago

Devenda commented 4 years ago

Describe the bug Error when building: from future.utils import iteritems ModuleNotFoundError: No module named 'future'

To Reproduce Use a pre installed python distribution and build the project. By following the onboarding, keeping the suggested python install and (re)installing the ESP-IDF Tools.

Expected behavior A build without errors.

Screenshots afbeelding

Environment (please complete the following information):

Additional context The python path "C:\Users\tinus\AppData\Local\Programs\Python\Python37\" was suggested in the onboarding. After changing the above path to "C:\Users\tinus.espressif\python_env\idf4.1_py3.7_env\Scripts\" in the option Custom Extra Paths the build runs successfully.

Thank you for providing this great extension!

brianignacio5 commented 4 years ago

Hi @Devenda Thank you so much for your feedback !

We also recently discover this issue internally and we fixed for release v0.1.2 which should be coming in the next days on marketplace and GitHub releases.

Please let us know if these keeps happening or if you face any other issue.