Page 1 of 1

trying to install ESP8266_RTOS_SDK (problems with virtualenv)

Posted: Fri Sep 05, 2025 7:26 pm
by Sunbelt57
while installing the sdk, I ran

Code: Select all

python -m pip install --user -r requirements.txt
and got some error (I forget what it is now) so I found this link: viewtopic.php?t=12481 and followed the instructions on the 2nd post by ESP_igrr:

Code: Select all

3. Delete C:\\ESP\\.espressif\\python_env\\idf3.3_py3.7_env directory
and the then

Code: Select all

4. Run the installer again
which I have no idea what that means. So now when I try to run:

Code: Select all

python -m pip install --user -r requirments.txt 
I get:

Code: Select all

bash: /home/dan/.espressif/python_env/idf5.5_py3.12_env/bin/python: No such file or directory

Re: trying to install ESP8266_RTOS_SDK (problems with virtualenv)

Posted: Sun Sep 07, 2025 3:55 pm
by Sunbelt57
Here's what I did to get it to work:

Code: Select all

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r ./requirements.txt

make sure IDF_PATH points to ESP8266_RTOS_SDK
export IDF_PATH=/home/dan/dev/esp/ESP8266_RTOS_SDK
and run ". ./export.sh" in ESP8266_RTOS_SDK directory