I tried to configure and compile with all 3 variables and that did work as
expected.
Thanks!
# C_INCLUDE_PATH=/usr/local/include CPLUS_INCLUDE_PATH=/usr/local/include
LD_RUN_PATH=/usr/local/lib ./configure --enable-optimizations
# C_INCLUDE_PATH=/usr/local/include CPLUS_INCLUDE_PATH=/usr/local/
It finally proved a compilation issue, this is the right way to compile
Python 3.9:
1033 C_INCLUDE_PATH=/home/felix/.local/sqlite/default/include/
CPLUS_INCLUDE_PATH=/home/felix/.local/sqlite/default/include/
LD_RUN_PATH=/home/felix/.local/sqlite/default/lib ./configure
--prefix=/home/felix/.local
Thanks for all the suggestions.
'Amitesh Sahay' via Django users
于2021年1月20日周三 下午10:06写道:
> Please read the release notes of the Django version you are using. It will
> be a life saver as well.
>
> Regards,
> Amitesh
>
>
> On Wednesday, 20 January, 2021, 07:35:14 pm IST, Amitesh Sahay <
> amites
Please read the release notes of the Django version you are using. It will be a
life saver as well.
Regards,
Amitesh
On Wednesday, 20 January, 2021, 07:35:14 pm IST, Amitesh Sahay
wrote:
So, this seems to be a version compatibility issue, a a work around you can
use some other dat
So, this seems to be a version compatibility issue, a a work around you can use
some other database(mysql, oracle, etc). This cud save ur day and time as well.
Regards,
Amitesh
On Wednesday, 20 January, 2021, 07:32:59 pm IST, panfei
wrote:
I have tried, it works in Python 3.6 environ
The exception is raised from inside the C implementation in Python when
checking sqlite3 version check.
In Django:
@async_unsafe
def get_new_connection(self, conn_params):
conn = Database.connect(**conn_params)
if PY38:
create_deterministic_function = functools.partial(
I have tried, it works in Python 3.6 environment. but I still want to find
a way (maybe a workaround) to solve this problem.
'Amitesh Sahay' via Django users
于2021年1月20日周三 下午9:48写道:
> Try older version of Python interpreter and see if that works. May be
> consider using 3.6
>
> Regards,
> Amites
Try older version of Python interpreter and see if that works. May be consider
using 3.6
Regards,
Amitesh
On Wednesday, 20 January, 2021, 05:55:32 pm IST, panfei
wrote:
I found that, it may not be a Django-related issue, It's more likely a Python
level issue, but do anyone know h
I found that, it may not be a Django-related issue, It's more likely a
Python level issue, but do anyone know how to avoid this problem?:
(venv) [felix@localhost blueprint]$ python
Python 3.9.1 (default, Jan 20 2021, 14:32:50)
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license"
System environment:
Cent OS 7
Sqlite3 3.34.0 (Compile from source)
Python 3.9.1 (Compile from source)
Django 3.1.5 (Pip install)
1. Compile sqlite3:
./configure --prefix=/home/felix/.local/sqlite/sqlite-3.34.0
make && make install
2. Add sqlite3 lib to lib search path:
export LD_LIBRARY_PATH=/
10 matches
Mail list logo