VSCode "The following Python requirements are not satisfied" Error

TFailed
Posts: 1
Joined: Sun Jul 30, 2023 5:52 am

VSCode "The following Python requirements are not satisfied" Error

Postby TFailed » Sun Jul 30, 2023 6:03 am

Hello,

I am experiencing an error once I attempt to create a new project.
> idf.py create-program . test
>

Code: Select all

The following Python requirements are not satisfied:
pyserial>=3.3
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
idf-component-manager~=1.2
pygdbmi<=0.9.0.2; python_version > "3.10"
reedsolo>=1.5.3,<=1.5.4
bitstring>=3.1.6,<4
ecdsa>=0.16.0
construct==2.10.54
esp-windows-curses; sys_platform == 'win32'
To install the missing packages, please run "C:\Users\12289\esp\esp-idf\install.bat"
>install.bat
>

Code: Select all

Requirement already satisfied: setuptools>=21 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 4)) (68.0.0)

Requirement already satisfied: click>=7.0 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 8)) (8.1.6)

Requirement already satisfied: pyserial>=3.3 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 9)) (3.5)

Requirement already satisfied: future>=0.15.2 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 10)) (0.18.3)

Requirement already satisfied: cryptography>=2.1.4 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 12)) (41.0.2)

Requirement already satisfied: pyparsing<2.4.0,>=2.0.3 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 18)) (2.3.1)

Requirement already satisfied: pyelftools>=0.22 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 19)) (0.29)

Requirement already satisfied: idf-component-manager~=1.2 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (1.3.2)

Requirement already satisfied: urllib3<2 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 21)) (1.26.16)

Requirement already satisfied: pygdbmi<=0.9.0.2 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 34)) (0.9.0.2)

Requirement already satisfied: kconfiglib==13.7.1 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 36)) (13.7.1)

Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 39)) (1.5.4)

Requirement already satisfied: bitstring<4,>=3.1.6 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 41)) (3.1.9)

Requirement already satisfied: ecdsa>=0.16.0 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 42)) (0.18.0)

Requirement already satisfied: construct==2.10.54 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from -r C:\Users\12289\esp\esp-idf\requirements.txt (line 46)) (2.10.54)

Requirement already satisfied: colorama in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from click>=7.0->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 8)) (0.4.6)

Requirement already satisfied: cffi>=1.12 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from cryptography>=2.1.4->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 12)) (1.15.1)

Requirement already satisfied: cachecontrol[filecache] in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (0.13.1)

Requirement already satisfied: packaging in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (23.1)

Requirement already satisfied: pyyaml in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (6.0.1)

Requirement already satisfied: requests in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (2.31.0)

Requirement already satisfied: requests-file in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (1.5.1)

Requirement already satisfied: requests-toolbelt in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r 
C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (1.0.0)

Requirement already satisfied: schema in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (0.7.5)

Requirement already satisfied: six in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (1.16.0)

Requirement already satisfied: tqdm in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (4.65.0)

Requirement already satisfied: windows-curses in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from esp-windows-curses==0.1->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 52)) (2.3.1)

Requirement already satisfied: pycparser in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from cffi>=1.12->cryptography>=2.1.4->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 12)) (2.21)

Requirement already satisfied: msgpack>=0.5.2 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from cachecontrol[filecache]->idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (1.0.5)

Requirement already satisfied: filelock>=3.8.0 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from cachecontrol[filecache]->idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (3.12.2)

Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from requests->idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (3.2.0)

Requirement already satisfied: idna<4,>=2.5 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from requests->idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (3.4)

Requirement already satisfied: certifi>=2017.4.17 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from requests->idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (2023.7.22)

Requirement already satisfied: contextlib2>=0.5.5 in c:\users\12289\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from schema->idf-component-manager~=1.2->-r C:\Users\12289\esp\esp-idf\requirements.txt (line 20)) (21.6.0)
I have been banging my head against a wall in an attempt to deal with this error for a few days now.
For additional context:
I attempted to downgrade my ESP-IDF version from V5.0.0 to V4.4.5 in an attempt to be able to utilize Arduino-as-a-component. I was able to create a project, compile, and flash with V5.0.0, however, after deleting the esp and .espressif folders and reinstalling ESP-IDF I have not been able to get passed the project creation step without being met by errors. I have fully uninstalled and reinstalled VSCode twice now and reinstalled the ESP-IDF extension.

Any help is much appreciated, thank you!

Who is online

Users browsing this forum: No registered users and 73 guests