Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'click' #3

Open
DarekLin opened this issue Feb 17, 2021 · 2 comments
Open

ModuleNotFoundError: No module named 'click' #3

DarekLin opened this issue Feb 17, 2021 · 2 comments

Comments

@DarekLin
Copy link

Thanks for sharing it. Great tool!
I am trying to run them in the fresh version of isp-idf 4.2 and when I try to click on e.g pyMenu button I received error:

Microsoft Windows [Version 10.0.18363.1379]
(c) 2019 Microsoft Corporation. Wszelkie prawa zastrzeżone.

D:\projects\esp32\idf\Esp32_debug_template>powershell idf.py menuconfig
Traceback (most recent call last):
  File "C:\esp\esp-idf\tools\idf.py", line 45, in <module>
    from idf_py_actions.tools import (executable_exists, idf_version, merge_action_lists, realpath)  # noqa: E402
  File "C:\esp\esp-idf\tools\idf_py_actions\tools.py", line 1, in <module>
    import click
ModuleNotFoundError: No module named 'click'

Also, when starting the project, I was not asked about:
..."Note: Allow VSCode to use cmd.exe when asked."...
Could you help to resolve this problem?

@remibert
Copy link

A very late answer, because I also just had this problem, and I just solved it, for others who will be looking for the solution: the default version of python must be 3.10, if you have 3.11 that made this mistake.

@ziadelbouriny
Copy link

Does anyone has a solution for this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants