Hello,
I encounter a problem during installation of the esp-idf (V5.1.1) with esp-idf-tools-setup-offline-5.1.1.exe
I tried several combination, starting the installation after installing last python package or removing the antivirus witout success.
The log file part is the following:
023-10-09 17:10:49.621 --------
2023-10-09 17:10:49.625 ESP-IDF Python Virtual environment does not exist, creating the environment: C:\Users\begi\Espressif\tools\idf-python\3.11.2\python.exe -m venv "C:\Users\begi\Espressif\python_env\idf5.1_py3.11_env"
2023-10-09 17:10:50.330 Done, exit code=1
2023-10-09 17:10:50.330 --------
2023-10-09 17:10:50.330 Running command: C:\Users\begi\Espressif\tools\idf-python\3.11.2\python.exe -m venv "C:\Users\begi\Espressif\python_env\idf5.1_py3.11_env"
Error: Command '['C:\\Users\\begi\\Espressif\\python_env\\idf5.1_py3.11_env\\Scripts\\python.exe', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Thanks a lot.
Bert
ESP-IDF Installation problem while creating Python virtual env
Re: ESP-IDF Installation problem while creating Python virtual env
Hello Bert,
Can you please provide the content from the second screen ("Pre-installation system check") of installer?
Also try to run following command:
and send back the output.
Thanks,
Jakub
Can you please provide the content from the second screen ("Pre-installation system check") of installer?
Also try to run following command:
Code: Select all
C:\Users\begi\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe -m ensurepip --upgrade --default-pip
Thanks,
Jakub
Re: ESP-IDF Installation problem while creating Python virtual env
Hello Jakub,
Thanks for your reply.
Pre-installation:
* Starting system check ...
* Windows version: 10.00.22621 [OK]
* Checking "Long Paths Enabled" in Windows registry [OK]
* Active code page: 5001
* Detected antivirus: Norton Security, McAfee, Reason Cybersecurity, Windows Defender
* Environment variables (PATHEXT) . [OK]
* Check complete.
Command:
C:\Users\begi>C:\Users\begi\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe -m ensurepip --upgrade --default-pip
Le chemin d’accès spécifié est introuvable.
C:\Users\begi>C:\Users\begi\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe -m ensurepip --upgrade --default-pip
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\begi\Espressif\tools\idf-python\3.11.2\Lib\ensurepip\__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
^^^^^^^^^^^^^^^^^
File "C:\Users\begi\Espressif\tools\idf-python\3.11.2\Lib\ensurepip\__init__.py", line 286, in _main
return _bootstrap(
^^^^^^^^^^^
File "C:\Users\begi\Espressif\tools\idf-python\3.11.2\Lib\ensurepip\__init__.py", line 202, in _bootstrap
return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\begi\Espressif\tools\idf-python\3.11.2\Lib\ensurepip\__init__.py", line 103, in _run_pip
return subprocess.run(cmd, check=True).returncode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "subprocess.py", line 548, in run
File "subprocess.py", line 1024, in __init__
File "subprocess.py", line 1493, in _execute_child
OSError: [WinError 225] Impossible de terminer l’opération, car le fichier contient un virus ou un logiciel potentiellement indésirable
Thanks for your reply.
Pre-installation:
* Starting system check ...
* Windows version: 10.00.22621 [OK]
* Checking "Long Paths Enabled" in Windows registry [OK]
* Active code page: 5001
* Detected antivirus: Norton Security, McAfee, Reason Cybersecurity, Windows Defender
* Environment variables (PATHEXT) . [OK]
* Check complete.
Command:
C:\Users\begi>C:\Users\begi\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe -m ensurepip --upgrade --default-pip
Le chemin d’accès spécifié est introuvable.
C:\Users\begi>C:\Users\begi\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe -m ensurepip --upgrade --default-pip
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\begi\Espressif\tools\idf-python\3.11.2\Lib\ensurepip\__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
^^^^^^^^^^^^^^^^^
File "C:\Users\begi\Espressif\tools\idf-python\3.11.2\Lib\ensurepip\__init__.py", line 286, in _main
return _bootstrap(
^^^^^^^^^^^
File "C:\Users\begi\Espressif\tools\idf-python\3.11.2\Lib\ensurepip\__init__.py", line 202, in _bootstrap
return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\begi\Espressif\tools\idf-python\3.11.2\Lib\ensurepip\__init__.py", line 103, in _run_pip
return subprocess.run(cmd, check=True).returncode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "subprocess.py", line 548, in run
File "subprocess.py", line 1024, in __init__
File "subprocess.py", line 1493, in _execute_child
OSError: [WinError 225] Impossible de terminer l’opération, car le fichier contient un virus ou un logiciel potentiellement indésirable
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: ESP-IDF Installation problem while creating Python virtual env
It looks like one of the antivirus programs are blocking the installation. I don't know which one because you seem to have three different ones in addition to Windows defender.
You can try to disable them one-by-one to see if that helps. After you've identified the one which is blocking then you can manually add exception to paths it has issues with.
You can try to disable them one-by-one to see if that helps. After you've identified the one which is blocking then you can manually add exception to paths it has issues with.
Re: ESP-IDF Installation problem while creating Python virtual env
You are completely right. The Reason Labs antivirus has been installed without my consent and was interacting with the installation program.
After uninstalled it, the installation went well.
Thanks a lot for your help.
After uninstalled it, the installation went well.
Thanks a lot for your help.
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 85 guests