I am trying to install python 3.13.2 from sources since I don't have root access on my machine (OS RedHat 7.9). I need the package sqlite3 in order to run jupyter, but it is not installed on the system hence Python disables it.
Here is the command I launch to install:
./configure --prefix my_install_directory --enable-optimizations --disable-test-modules && make -j16
Here is what the configure script says:
checking for sqlite3 >= 3.15.2... no
checking for sqlite3.h... no
And here is what it says at the end of the make command:
The following modules are *disabled* in configure script:
_sqlite3
How can I install sqlite3 on my machine without root privileges and have python find it when I install it ?
I am trying to install python 3.13.2 from sources since I don't have root access on my machine (OS RedHat 7.9). I need the package sqlite3 in order to run jupyter, but it is not installed on the system hence Python disables it.
Here is the command I launch to install:
./configure --prefix my_install_directory --enable-optimizations --disable-test-modules && make -j16
Here is what the configure script says:
checking for sqlite3 >= 3.15.2... no
checking for sqlite3.h... no
And here is what it says at the end of the make command:
The following modules are *disabled* in configure script:
_sqlite3
How can I install sqlite3 on my machine without root privileges and have python find it when I install it ?
Answering my own question in case it helps someone:
./configure && make install
. I don't think there's a mistake on my part, others have had the same issue (see stackoverflow/questions/19530974/…), but my problem is that I don't have root access and I'm not quite satisfied with Shashi Ranjan's answer on the post I linked. – PrOpoLo Commented Feb 12 at 21:55