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
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
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
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
7 votes
2 answers
5k views

Pyenv, Python installation failure: OpenSSL development header is not installed

I've been unable to use Pyenv to install Python on macOS (10.13.6) and have exhausted advice about common build problems. pyenv-doctor reports: OpenSSL development header is not installed. ...
Dotnaught's user avatar
  • 135
2 votes
0 answers
1k views

pyenv not building with the openssl specified in CFLAGS, LFLAGS

With a 32-bit openssl bit on OS X (thanks to the suggestions given here), I kick off the pyenv build once again, this time setting the flags to point to where I've built the 32-bit openssl to (/usr/...
Pyderman's user avatar
  • 16.3k
0 votes
0 answers
1k views

Unable to install 32-bit Python with pyenv, despite appropriate flags set

I'm looking to install the 2.6.6 Python as 32-bit with pyenv on OS X, but get: ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? Despite having consulted Common Build ...
Pyderman's user avatar
  • 16.3k