On Wed, Jan 20, 2021, at 14:54, panfei wrote: > 3. Compile Python 3.9.1 > C_INCLUDE_PATH=/home/felix/.local/sqlite/sqlite-3.34.0/include/ > CPLUS_INCLUDE_PATH=/home/felix/.local/sqlite/sqlite-3.34.0/include/ > LD_RUN_PATH=/home/felix/.local/sqlite/default/lib ./configure > --prefix=/home/felix/.local/python/python-3.9.1 --enable-optimizations > make && make install
How *exactly* did you compile python? i.e. what specific commands, to make it pick up those include paths? Because from the symptoms you are reporting, it sounds like it was not compiled against the correct version of sqlite. -- https://mail.python.org/mailman/listinfo/python-list