Closed MinorProphet closed 4 years ago
Installing Python 3.5.0 produces a similar error. Installing 3.6.0 works like a charm:
$ asdf install python 3.5.0
python-build 3.5.0 $HOME/.asdf/installs/python/3.5.0
Downloading Python-3.5.0.tar.xz...
-> https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tar.xz
Installing Python-3.5.0...
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 1.2.20-3-g58c776a1)
Inspect or clean up the working tree at /tmp/python-build.20200824231621.215456
Results logged to /tmp/python-build.20200824231621.215456.log
Last 10 log lines:
(cd $HOME/.asdf/installs/python/3.5.0/share/man/man1; ln -s python3.5.1 python3.1)
if test "xupgrade" != "xno" ; then \
case upgrade in \
upgrade) ensurepip="--upgrade" ;; \
install|*) ensurepip="" ;; \
esac; \
./python -E -m ensurepip \
$ensurepip --root=/ ; \
fi
Ignoring ensurepip failure: pip 7.1.2 requires SSL/TLS
$ asdf install python 3.6.0
python-build 3.6.0 $HOME/.asdf/installs/python/3.6.0
Downloading Python-3.6.0.tar.xz...
-> https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz
Installing Python-3.6.0...
Installed Python-3.6.0 to $HOME/.asdf/installs/python/3.6.0
$ asdf list python
3.6.0
3.8.5
This is a possible instance of this issue:
Hi, thanks for reporting. This plugin is mostly a wrapper of pyenv
, so tracking the upstream issue is probably the only thing to do.
I'll close here but feel free to comment if you think something could be done on this plugin's side.
any updates?
Same behavior with Python 3.11.2 in WSL.
I encountered the "ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?" and I couldn't solve it by following the common build problems solutions on the wiki.