|
I'm new learner linux, so when I trying to install python via pyenv, it appear this error : |
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 |
|
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 ? |
|
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 opensslAlso 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/opensslthen you must remove it save the file and restart your terminal session. Same goes for any non-interactive shell file ( |
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…