LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2011, 08:21 AM   #1
PhilipRH
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Import Error: No module named apsw


Python version 2.6 worked fine but since updating to version 3.1 and now 3.2 I cannot get beyond this error. I have also downloaded and installed APSW v3.7.5
 
Old 03-19-2011, 04:52 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Some loose thoughts:
Check the path variable

Quote:
echo $PATH
and look where your system looks for stuff, make sure either
- the path variable caters for the location of the (missing) file/module
or
- make sure the module is "in there" somewhere

I noticed you're an Ubuntu user, you might wanna look here
https://help.ubuntu.com/community/En...nt%20variables
to learn about env vars...if you dont know that already (dont know your profeciency, sorry)

Luck

Thor
 
Old 03-20-2011, 05:50 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.

Quote "2.6 worked fine but since updating to version 3.1 ..... " :
Python 2.6 can be updated to 2.7.

Python 3.x is not really a simple update, but a change to a new different python.
There is documentation that tells how to convert python 2 programs to use "3.x".
And documentation : How to use python 3.

The command : 'python --version' : Will tell which version you actually use.
( Also: May be you installed apsw-3.7.5 to /usr/lib/python2.6/ ?
Then python3 will not be able to use it, and will not find it.)

.

Last edited by knudfl; 03-20-2011 at 05:53 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
transcode audio import module error voyciz Linux - Software 3 07-21-2009 01:38 AM
Internal Error: No module named Config yuri16 Linux - Software 1 05-22-2009 06:17 AM
yum error: no module named rpm catbird Linux - Newbie 4 02-21-2008 10:55 AM
bitpim No module named apsw jerzeejerome Linux - Software 0 12-25-2007 08:12 PM
gnochm error - No module named gconf raghav Fedora 1 12-14-2005 10:26 AM


All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration