Skip to main content

All Questions

Tagged with
0 votes
0 answers
42 views

Trouble installing pyenv with brew on mac due to openssl version

Has anyone ever been able to install the most recent version of pyenv on their computer? I just updated my python to 3.13.2. I tried through brew and run into this issue: ==> Installing ...
leensa's user avatar
  • 1
0 votes
1 answer
629 views

Can Not Install Any ARM Version of Python with Pyenv

I'm getting the "common" missing readline and missing openssl errors, but not finding any solution after 5 days of working on this. I loaded an ARM version of Homebrew and I’m calling pyenv ...
JackyChan's user avatar
0 votes
1 answer
1k views

pyenv installing any python version is resulting in ModuleNotFoundError: No module named '_ssl'

As a new user on my ubuntu WSL system I am installing python versions using pyenv to manage multiple version, I'm using the standard instructions: I installed homebrew: /bin/bash -c "$(curl -fsSL ...
Goku's user avatar
  • 1,673
5 votes
1 answer
8k views

Install Python 3.10 or 3.11 with OpenSSL on MAC Apple Silicon

I have tried multiple times to get Python working on my Mac M2 and always have trouble openssl. I have used both Stack overflow questions (which are out of date) and ChatGPT to guide me on ...
David Cruwys's user avatar
  • 6,892
5 votes
1 answer
23k views

Problems with installing Python 3.11.1 using pyenv

I tried to install Python 3.11.1 using Pyenv and got this: ➜ ~ pyenv install 3.11.1 Downloading Python-3.11.1.tar.xz... -> https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tar.xz Installing ...
euxxx's user avatar
  • 111
1 vote
1 answer
932 views

Pyenv unable to install older versions of Python 3 due to `configure: error: C compiler cannot create executables`

I've been trying to use pyenv to install older versions of python3. I've tried 3.0.1, 3.1.0, 3.1.1, and 3.1.2. I kept getting the error ImportError: No module named _ssl ERROR: The Python ssl ...
Hofbr's user avatar
  • 1,010
32 votes
12 answers
34k views

Pyenv in Ubuntu 22.04: ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

Moving to Ubuntu 22 with a fresh install (I have Ubuntu 20 in another partition) and the last piece I need to use it for working it to have pyenv running fine. When trying to pyenv install x.xx.x it ...
Pere Picornell's user avatar
6 votes
1 answer
6k views

trying to install pyenv on 22.04 -- missing python-openssl?

E: Unable to locate package python-openssl Have a fresh install of 22.04 (non-upgrade) and seems I'm running into a ton of issues trying to make my "usual" tools work with Python 3.10.4 that ...
AlMo320's user avatar
  • 135
7 votes
1 answer
5k views

Pyenv on Amazon Linux fails to build due to openssl

I’m having the exact same issue as referenced here with respect to compiling Python 3.7+ on Amazon Linux 2 using Pyenv. I’ve tried building openssl1.1 from source and still get the same error of build ...
CaptainDriftwood's user avatar
1 vote
1 answer
5k views

macOS pyenv: pip install not working [SSL: CERTIFICATE_VERIFY_FAILED]

I am trying to install numpy package using pip while working with pyenv (global version 3.8.6). Command: pip install numpy Output: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=...
Himanshu Malhotra's user avatar
0 votes
2 answers
6k views

[email protected] not used? dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

While attempting to install python via pyenv, I was hitting the a frustrating dynamic link error for openssl, even though I'd installed and configured [email protected] via homebrew months prior: $ pyenv ...
fire's user avatar
  • 450
1 vote
2 answers
4k views

How to solve ImportError: cannot import name 'ssl' on Python 3

I am using pyenv with Python 3.6.0 on a MAC OS Catalina V10.15.5. I have updated openssl with brew to the latest version ([email protected]): brew install openssl But now I am getting the following errors ...
Peter Schwarz's user avatar
0 votes
1 answer
3k views

Ignoring ensurepip failure: pip requires SSL/TLS - Python 3.4.X with pyenv on OS X

I am trying to install python version 3.4.10 via pyenv but I get the error Ignoring ensurepip failure: pip 9.0.1 requires SSL/TLS. For python versions after 3.4.10 (e.g.: 3.5.9), it did succeed ...
N.Berghmans's user avatar
5 votes
0 answers
580 views

How to install Python on Mac through Pyenv?

I want to install python 3.4.2 on Mac 10.15.1 I have run: $ pyenv install 3.4.2 but appears the error: Ignoring ensurepip failure: pip 1.5.6 requires SSL/TLS searching i have found this link with ...
Alberto Sanmartin Martinez's user avatar
2 votes
1 answer
3k views

Compiling Python 3.7 on Ubuntu 14.04 with pyenv

Compiling Python 3.7 and up on Ubuntu 14.04 doesn't work out of the box. This is because Ubuntu 14.04 is baselined on OpenSSL 1.0.1 and Python 3.7 requires OpenSSL 1.0.2 and up. What is the best ...
Daniel Goldberg's user avatar

15 30 50 per page