-
I'm new learner linux, so when I trying to install python via pyenv, it appear this error :
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
It appears that you are missing OpenSSL in your development environment, and since it is a core dependency for running pyenv, you will need to install it first. On Ubuntu, you can run the following commands to install the needed packages. More of these instructions can be found in the Install Python build dependencies section of the included README.md file. Copy-paste these commands into your terminal and run: sudo apt-get update; sudo apt-get install make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev |
Beta Was this translation helpful? Give feedback.
-
I tried to uninstall OpenSSL in Hombrew and try to installed it by
So how to set path to Openssl in Homebrew when I install python via pyenv or how to set default path in system instead of Homebew ? |
Beta Was this translation helpful? Give feedback.
-
Just quote-replying again if someone else needs answer to the same issue.
Okay, so assuming you've uninstalled OpenSSL from Homebrew and reinstalled it using Apt, you can try running the following commands in order to remove any possible symlinks that originated from the previous installation of OpenSSL and check if it redirects to the current installation. brew cleanup && which openssl Also to clean up the PATH variable and remove the previous entries of OpenSSL, you can first view the export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin/openssl then you must remove it save the file and restart your terminal session. Same goes for any non-interactive shell file ( |
Beta Was this translation helpful? Give feedback.
Just quote-replying again if someone else needs answer to the same issue.
Okay, so assuming you've uninstalled OpenSSL from Homebrew and reinstalled it using Apt, you can try running the following commands in order to remove any possible symlinks t…