Good morning,
I encountered an issue when I try to launch espefuse.py tool on my IDF 5.1.1 installation.
When I launch the tool (that is contained in C:\esp\esp5_1_1\.espressif\python_env\idf5.1_py3.11_env\Scripts folder) I get this error:
C:\esp\esp5_1_1\.espressif\python_env\idf5.1_py3.11_env\Scripts\espefuse.pyc
Traceback (most recent call last):
File "C:\esp\esp5_1_1\.espressif\python_env\idf5.1_py3.11_env\Scripts\espefuse.py", line 37, in <module>
espefuse._main()
AttributeError: 'module' object has no attribute '_main'
Someone has the same problem or can help me?
Best regards,
Stefano
Error while using espefuse.py
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: Error while using espefuse.py
How do you try to run it? Are you in an ESP-IDF terminal environment? What is the working directory and the full command you are running?
"espefuse.pyc" - The pyc part doesn't seem right.
"espefuse.pyc" - The pyc part doesn't seem right.
-
- Posts: 9
- Joined: Tue Feb 02, 2021 8:06 am
Re: Error while using espefuse.py
Hi,
I am running from the IDF command line (the cmd link created by the installer), I launch only espefuse.py without parameters (but with parameters is the same) and the working directory is the one where I have the esp project.
Thanks,
Stefano
I am running from the IDF command line (the cmd link created by the installer), I launch only espefuse.py without parameters (but with parameters is the same) and the working directory is the one where I have the esp project.
Thanks,
Stefano
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: Error while using espefuse.py
In ESP-IDF v5.1.1 "espefuse.py" is aliased to run
Are you able to run that instead?
Or the following?
Code: Select all
python.exe "%IDF_PATH%\components\esptool_py\esptool\espefuse.py"
Or the following?
Code: Select all
python -m espefuse
Who is online
Users browsing this forum: Gaston1980 and 60 guests