Skip to content

Persisting spaCy import error: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+ #12750

Discussion options

You must be logged in to vote

This is not really a spaCy issue, but an issue with the Python installation. You could try to install an older version of urllib3, for instance, I have a virtual environment with a recent version of spaCy 3.5 and urllib3 1.26.15, which works fine:

pip install urllib3=1.26.15

If that doesn't work, please confirm with pip show urllib3 that that version was indeed installed and what error you are getting. Another option would be to build or install a Python version that is built against OpenSSL 1.1.1 or newer.

I tried

brew install [email protected]

This will usually not work, because Homebrew installs openssl as a keg-only, meaning that the library is not visible, unless you explicitly link aga…

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@temtechie
Comment options

@aadityaarora
Comment options

@rickcert
Comment options

@IwaYori
Comment options

@ryzxxn
Comment options

Answer selected by adrianeboyd
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues