You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[X ] PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: MacOS Ventura 13.4 (22F66) on Intel
PlatformIO Version (platformio --version): 6.1.7
Description of problem
Every time I (re)open or build my project in VSCode, or when I use the pio run command from the terminal, I get the following platformIO error:
CMake Error at /Users/redacted/.platformio/packages/framework-espidf/tools/cmake/build.cmake:519 (message):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/redacted/.platformio/penv/.espidf-5.0.2/lib/python3.7/site-packages/idf_component_manager/prepare_components/__main__.py", line 4, in <module>
from .prepare import main
File "/Users/redacted/.platformio/penv/.espidf-5.0.2/lib/python3.7/site-packages/idf_component_manager/prepare_components/prepare.py", line 18, in <module>
from ..core import ComponentManager
File "/Users/redacted/.platformio/penv/.espidf-5.0.2/lib/python3.7/site-packages/idf_component_manager/core.py", line 17, in <module>
import requests
File "/Users/redacted/.platformio/penv/.espidf-5.0.2/lib/python3.7/site-packages/requests/__init__.py", line 43, in <module>
import urllib3
File "/Users/redacted/.platformio/penv/.espidf-5.0.2/lib/python3.7/site-packages/urllib3/__init__.py", line 39, in <module>
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl'
module is compiled with OpenSSL 1.1.0h 27 Mar 2018. See:
https://github.com/urllib3/urllib3/issues/2168
Call Stack (most recent call first):
/Users/redacted/.platformio/packages/framework-espidf/tools/cmake/project.cmake:447 (idf_build_process)
CMakeLists.txt:3 (project)
I get this error even when I create blank new project (EPS32 with ESP-IDF).
Steps to Reproduce
Create new project from within VSCode
Actual Results
Error occurs on the 'PlatformIO: Configuring project' or 'build' step
Okay I installed the latest version of python (3.11) and deleted my older versions (3.7 and 3.8) and reinstalled platformIO after deleting ~/.platformio and that seems to have fixed it. Maybe platformIO could warn users if their python version is out of date?
What kind of issue is this?
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: MacOS Ventura 13.4 (22F66) on Intel
PlatformIO Version (
platformio --version
): 6.1.7Description of problem
Every time I (re)open or build my project in VSCode, or when I use the
pio run
command from the terminal, I get the following platformIO error:I get this error even when I create blank new project (EPS32 with ESP-IDF).
Steps to Reproduce
Actual Results
Error occurs on the 'PlatformIO: Configuring project' or 'build' step
Expected Results
No errors
If problems with PlatformIO Build System:
The content of
platformio.ini
:Additional info
I tried reinstalling PlatformIO, both from within VSCode or using the bleeding edge installer script.
I tried deleting the
~/.platformio
directory and then reinstalling.I tried manually installing the latest OpenSSL.
openssl version -a
returns:But none of that seems to help
Also, I tried the workaround for issue 4614 but no luck.
The text was updated successfully, but these errors were encountered: