Closed SuperSonicHub1 closed 2 years ago
Not sure because I cannot see the full log but make sure to have this install on your machine
sudo apt install libffi-dev libncurses5-dev zlib1g zlib1g-dev
Ran that command but I'm now running into issues with OpenSSL:
kwilliams@grahamdell:~$ asdf install python 3.10.0
python-build 3.10.0 /home/kwilliams/.asdf/installs/python/3.10.0
Downloading Python-3.10.0.tar.xz...
-> https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
Installing Python-3.10.0...
WARNING: The Python bz2 extension was not compiled. Missing the bzip2 lib?
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems
BUILD FAILED (Ubuntu 20.04 using python-build 2.1.0-12-g5963dc4f)
Inspect or clean up the working tree at /tmp/python-build.20211016195642.141545
Results logged to /tmp/python-build.20211016195642.141545.log
Last 10 log lines:
Installing collected packages: setuptools, pip
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /home/kwilliams/.asdf/installs/python/3.10.0/include/python3.10/setuptools
sysconfig: /tmp/python-build.20211016195642.141545/Python-3.10.0/Include/setuptools
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /home/kwilliams/.asdf/installs/python/3.10.0/include/python3.10/pip
sysconfig: /tmp/python-build.20211016195642.141545/Python-3.10.0/Include/pip
WARNING: The scripts pip3 and pip3.10 are installed in '/home/kwilliams/.asdf/installs/python/3.10.0/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-21.2.3 setuptools-57.4.0
To solve the ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
you can install the libssl-dev
package:
sudo apt install libssl-dev
@dreyescat It worked; thanks for the help! For any other Ubuntu users, you'll need some extra libraries for readline
, bz2
, and sqlite3
to compile.
sudo apt install libreadline-dev libbz2-dev libsqlite3-dev
# You can them immediately uninstall them!
sudo apt remove libreadline-dev libbz2-dev libsqlite3-dev
Thank you guys helped me a lot.
asdf info
output: