--userinstalls with pyenv's pip?
--userwith the pip from pyenv.
Hello everyone. I'm install pyenv and pyenv-virtualenv following instructions in github.
My problem: I can't access other python versions that I installed through pyenv. I installed version 3.6.9, but when I use pyenv-virtualenv or a "pyenv shell 3.6.9" I'm still on the same version as my system.
But it does not help. Reinstalled zlib, readline and openssl but still does not work on Macos 11.4
CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib" CPPFLAGS="-I$(brew --prefix zlib)/include" CONFIGURE_OPTS="--with-openssl=$(brew --prefix openssl)" pyenv install 3.9.1
The Python ssl extension was not compiled. Missing the OpenSSL lib?I tried what it says in the common build problems guide but can't fix it. Any thoughts ?
sudo apt install -y gcc zlib1g-dev libbz2-dev libreadline-dev libssl-dev libsqlite3-dev curl