Ich habe versucht, Python in pyenv env, in dem ich bekomme den folgenden Fehler zu installieren. Ich habe der Pfadvariablen openssl hinzugefügt, da openssl bereits verfügbar ist, aber es wirft immer noch den gleichen Fehler auf.Fehler: Die OpenSSL-Bibliothek fehlt? beim Versuch, Python in Pyenv/SUSE12-Umgebung zu installieren
Auch jetzt mit einem separaten Benutzer (nicht root) versucht. Derselbe Fehler! Und habe versucht, die Wiki-Seite zu verfolgen, aber für OpenSUSE kann ich nicht viel Hilfe bei Google finden.
Kann mir jemand sagen, wie es weiter geht.
[email protected]:~/.pyenv> pyenv install 3.5.2
Downloading Python-3.5.2.tar.xz...
-> https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
Installing Python-3.5.2...
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/yyuu/pyenv/wiki/Common-build-problems
BUILD FAILED (SLES 12.1 using python-build 20160726)
Inspect or clean up the working tree at /tmp/python-build.20160801100205.31144
Results logged to /tmp/python-build.20160801100205.31144.log
Last 10 log lines:
(cd /home/xxxxx/.pyenv/versions/3.5.2/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 8.1.1 requires SSL/TLS
Diese sind bereits installiert. Und um es noch einmal zu installieren, zeigt es an, dass die höchste verfügbare Version bereits installiert ist. für alle libs. Gibt es etwas, was ich tun muss? –
Haben Sie die * -dev-Versionen, um sicherzustellen, dass Kompilationen die Support-Bibliotheken finden? – holdenweb
Ja, ich habe jetzt installiert. zypper -n openssl libopenssl-devel –