Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

ImportError: No Module Named 'pysqlite2'

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
RyanAppDev
Posts: 1
Joined: 2015-04-21 11:29

ImportError: No Module Named 'pysqlite2'

#1 Post by RyanAppDev »

Hi, I have written a program in Python 3.4 on windows and all was runnning well on the windows test environment. I installed a virtual machine with Debian and during the setup for the program I ran into an issue. I installed flask with all the dependencies etc but when I go to run the program I get the issue ImportError: No Module Named 'pysqlite2'. I have googled his subject to death and have not came across a solution. Can anyone shed any light on this subject from the picture below or does anyone have experience with a similar problem. Thanks in advance
http://imgur.com/fN69fmR
Image

User avatar
linearJim
Posts: 81
Joined: 2012-06-08 21:10

Re: ImportError: No Module Named 'pysqlite2'

#2 Post by linearJim »

i have not used this library before but it seems that is not available from pip [ because i see you use virtualenv ]

it is available from the debian repos

Code: Select all

└──┤ apt-cache search pysqlite2
python-pysqlite2 - Python interface to SQLite 3
python-pysqlite2-dbg - Python interface to SQLite 3 (debug extension)
python-pysqlite2-doc - Documentation for python-pysqlite2
--edit---
my mistake, you need for python 3 ....
check this
Οh and a lame crab walks straight

Post Reply