SQLite3 und Python auf Redhat 7.9 [geschlossen]
Posted: 13 Feb 2025, 20:09
Ich versuche, Python 3.13.2 aus Quellen zu installieren, da ich keinen Root -Zugriff auf meinem Computer habe (OS Redhat 7.9). Ich brauche das Paket SQLite3, um Jupyter auszuführen, aber es ist nicht auf dem System installiert, daher deaktiviert Python es. />
Hier ist das Konfigurationsskript:
Wie kann ich SQLite3 auf meinem Computer ohne Stammberechtigungen installieren und Python finden, wenn ich es installiere?
Code: Select all
./configure --prefix my_install_directory --enable-optimizations --disable-test-modules && make -j16
Hier ist das Konfigurationsskript:
Code: Select all
checking for sqlite3 >= 3.15.2... no
checking for sqlite3.h... no
< /code>
Und hier ist, was es am Ende des Befehls machen: < /p>
./python -E -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
The following modules are *disabled* in configure script:
_ctypes_test _sqlite3 _testbuffer
_testcapi _testclinic _testclinic_limited
_testexternalinspection _testimportmultiple _testinternalcapi
_testlimitedcapi _testmultiphase _testsinglephase
_xxtestfuzz xxlimited xxlimited_35
xxsubtype
The necessary bits to build these optional modules were not found:
_ctypes _hashlib _ssl
_tkinter
To find the necessary bits, look in configure.ac and config.log.
Could not build the ssl module!
Python requires a OpenSSL 1.1.1 or newer
Checked 112 modules (33 built-in, 58 shared, 1 n/a on linux-x86_64, 16 disabled, 4 missing, 0 failed on import)