Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pip is broken in MacOS with Homebrew OpenSSL 1.1 #3211

Closed
@hashlock-te

Description

@hashlock-te

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp