Closed higaski closed 1 year ago
@higaski Hello, Thank you for the issue. The problem is related to a breaking charge in underlying library. We already aware of this problem and working on the fix
Ok, thanks. Any workaround for the moment?
@higaski
You may try this:
In your ESP-IDF environment (after source path/to/idf/export.sh
):
pip install -U "urllib3<2"
Yep thanks again, this did the trick!
How to solve it on Windows system
How to solve it on Windows system
Hello @shenguoqing1
On windows you may open ESP-IDF PowerShell Environment
or ESP-IDF Command Prompt (cmd.exe)
from the Start menu and run the same command:
pip install -U "urllib3<2"
In addition, if you are using ESP-IDF 5.0 or newer it is enough to re-run the install script (install.ps1
on windows) and the ESP-IDF environment should be fixed.
How to solve for VS Code on Windows?
Navigate to esp-idf installation folder [through command prompt] which you have selected during installation using vscode and execute python -m pip install -U "urllib3<2"
and it works. For me installation folder is python_env\idf5.2_py3.8_env\Scripts
How to solve for VS Code on Windows?
@arturdearaujo
In VS Code, open command pallete with Ctrl+Shift+P and run terminal using ESP-IDF: Open ESP-IDF terminal
. In terminal window run pip install -U "urllib3<2"
It was fixed in v1.2.3
You can update to this version following the guide here: https://docs.espressif.com/projects/idf-component-manager/en/latest/guides/updating_component_manager.html
The Component Manager version
v1.2.2
ESP-IDF Version
v5.2-dev
python Version
3.11.3
Operating System
Arch
Browser (for https://components.espressif.com Issues)
No response
Description
I've just tried to update to ESP-IDF tag v5.2-dev. For some reason this broke my entire build system. Pretty much any idf.py command I try to run gives me a huge traceback.
I'm sorry that I have so little information, I'd like to describe the issue further, but I don't even know where to start... The TypeError at the end kinda looks like it has something to do with some Python HTTP package...?
To Reproduce
Expected behaviour
.
Additional info
No response
I have checked existing issues and online Documentation