Sunday, February 19, 2017

Anyone know howto solve this: Error loading either pysqlite2 or sqlite3 module

Hello, everybody:

I am a newbie in Django and I recently installed Python 3.6 and Django 1.110.5, but  when try execute the server show me:

{code}

Traceback (most recent call last):

  File "/root/myDjangoProject/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 34, in <module>

    from pysqlite2 import dbapi2 as Database

ModuleNotFoundError: No module named 'pysqlite2'

{code}


My version CentOS is 6.8, python 3.6 and Django 1.10.5


Thanks a lot for your time

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7d94a98f-1b82-4244-96a0-faf0cf00721e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment