Linux python install missing module sqlite3

خرید بک لینک

Due to an issue where we can't natively update python from version 2.4, I am required to install my own python 2.7.5 in my home directory. This creates an issue where I don't have the correct headers (or something) for sqlite3 imports, so my application that imports sqlite3 is broken.

This is what I've done so far, to no avail:

From this website: http://www.sqlite.org/download.html downloaded the third source, titled: sqlite-autoconf-3130000.tar.gz

Then I extract this into /home/ using: tar -xzvf sqlite-autoconf-3130000.tar.gz

cd into sqlite-autoconf-3130000 and run ./configure, then make

Python configuration files are downloaded into /home/Python-2.7.5

cd into Python directory and run:

./configure --prefix=/home/python2.7 --with-sqlite=/home/sqlite-autoconf-3130000

make

make install

no errors are thrown and I think this should work but still nothing when I invoke the interpreter on a file with sqlite3 import.

Can anyone help me get sqlite3 imported into my home install of python 2.7.5?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 348 تاريخ: جمعه 1 مرداد 1395 ساعت: 2:59

صفحه بندی