Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.2k
Closed
Description
On MacOS (ARM) installing python 3.10 using pyenv, python does not work. Any use of ssl causes cert error (openssl).
Steps to reproduce
brew install pyenvpyenv install 3.10pip install -r requirements.txt
error:
ERROR: Exception:Traceback (most recent call last): File"/Users/hashlock/.pyenv/versions/3.10.16/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 160,in exc_logging_wrapper status = run_func(*args) File"/Users/hashlock/.pyenv/versions/3.10.16/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247,in wrapperreturn func(self, options, args) ... File"/Users/hashlock/.pyenv/versions/3.10.16/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py", line 703,in urlopen httplib_response = self._make_request( File"/Users/hashlock/.pyenv/versions/3.10.16/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py", line 386,in _make_request self._validate_conn(conn) File"/Users/hashlock/.pyenv/versions/3.10.16/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py", line 1042,in _validate_connconn.connect() File"/Users/hashlock/.pyenv/versions/3.10.16/lib/python3.10/site-packages/pip/_vendor/urllib3/connection.py", line 457,in connectif notcert.get("subjectAltName", ()):AttributeError:'NoneType' object has no attribute'get'
However - workaround from#2746 works.
ex:
pyenv uninstall 3.10PYTHON_CONFIGURE_OPTS="--with-openssl=/opt/homebrew/Cellar/openssl@3/3.4.1/" pyenv install 3.10pip install -r requirements.txt...
Seems like this issue with openssl is still a bug?
Metadata
Metadata
Assignees
Labels
No labels