General :: Import Error: No Module Named Apsw
Mar 18, 2011Python 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
View 2 RepliesPython 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
View 2 RepliesI recently installed python in SLES and now i get the below error when running it.
Code:
The GCC team.
Distribution: SUSE Linux Enterprise 11
linux-ooix:~/Desktop # python3
[code]....
Import Error: No module named readline
I have installled eyeD3. It works on the commandline (bash). But I want use it in python3.
I did get this error:
Code: Select all>>> import eyed3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named eyed3
Why cant I use this module for reading and writing tag information to mp3 files?
If you had Gimp 2.6 (with gimp-plugin-registry installed) and installed Gimp 2.7 to try its new goodies, but Layer Effects are not showing, and when executing "gimp" from console you get these *nasty* errors:
Code:
This is a development version of GIMP. Debug messages may appear here.
gimp-user-install: migrating from /home/user/.gimp-2.6
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/layerfx.py", line 23, in <module>
import gimp, gimpplugin, math
ImportError: No module named gimp .....
If you haven't install the 2.7 version yet. Before upgrading, backup "python" directory and then just restore it after installing 2.7.
Code:
nits@nits-desktop:/mnt/Storage/Tors/Incomp$ btdownloadcurses --check_hashes 1 filename.torrent
/usr/lib/python2.6/dist-packages/BitTorrent/Storage.py:4: DeprecationWarning: the sha module is deprecated; use the hashlib module instead from sha import sha
These errors occurred during execution:
[09:37:48] IOError - [Errno 5] Input/output error
Got this error when I tried hash checking, was downloading the file using rtorrent when there was a sudden powercut and my system shutdown abruptly, tried restarting the torrent and kept encountering problems while restarting.
I installed PyQt4 using yum but when I ran python file it came up with message which says
Code:
[root@VAIO examples]# python
Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2
[code]....
I use ubuntu 10.04 and here's the problem. I've installed pssh, but when I type pssh i got this message
Code:
# pssh
Traceback (most recent call last):
File "/usr/bin/pssh", line 29, in <module>
from psshlib.basethread import BaseThread
ImportError: No module named basethread
Also, if I type man pssh I got this message:
See 'man 7 undocumented' for help when manual pages are not available. I've reinstalled it, but nothing changed. I've found that basethread is located here:
/usr/lib/python2.5/site-packages/psshlib/basethread.py
/usr/lib/python2.5/site-packages/psshlib/basethread.pyc
I installed something and now my yum dont work: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named CElementTree install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is:
2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
i use CentOS release 5.4 (2.6.18-164.2.1.el5.028stab066.7 #1 SMP Tue Dec 1 23:22:32 EET 2009 i686 i686 i386 GNU/Linux) on my VPS. # rpm -qa --last shows:
python-elementtree-1.2.6-5 Wed 24 Mar 2010 12:56:46 PM EET
rpmforge-release-0.5.1-1.el3.rf Wed 24 Mar 2010 08:20:32 AM EET
perl-Convert-ASN1-0.22-1.el3.rf Wed 24 Mar 2010 08:20:31 AM EET
[code]....
I am having this problem everytime I execute the yum command: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree
Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is:
2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
I am running into problems when I try to install Altera's "Quartus 10 web edition 32 bit" on Fedora 14 (64bit). When I launch the installer I get the error message
Quote:
Traceback (most recent call last):
File "<string>", line 18, in <module>
File "/tools/python/2.6.4/linux32/pyinstaller/iu.py",
line 436, in importHook
[code]....
After that I ran altera's installer again and get the same error as above. Interestingly, if I now run the python command shell and try to import hashlib, that one is also broken again as above.
In Python 2.6.5, I could import from mx.DateTime.ISO import ParseDateTimeUTC With 2.7 I cannot.Here is the error. My module util_lib contains the import noted above.
File "util_lib.py", line 46, in <module>
from mx.DateTime.ISO import ParseDateTimeUTC
ImportError: No module named mx.DateTime.ISO
What changes do I need to make, to import on pre-2.7 and 2.7?
Started getting this middle last year and was hoping it'd just go away or fix itself or something. Alas, no such luck.
$ meld
No module named pygtk
Meld requires pygtk2.6.0 or higher.
$
installing Frets On Fire with Fedora 11? I downloaded the binary from the website,tarred, installed everything mentioned in the read me and then ran the Frets On Fire .py file in the terminal, but I get a bad output.
Here it is:
Code:
/home/Reece/Download/Frets on Fire-1.3.110/src/Song.py:31: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Traceback (most recent call last):
[code]....
I want to learn to program by python 3 so I install eric5. I can't find it on opensuse repo so i must install it and it's dependence package from tarball. Everything seem to be normal till I try to run it. Nothing happen so I run it from terminal and get error
Code:
Traceback (most recent call last):
File "/usr/local/lib/python3.1/site-packages/eric5/eric5.py", line 56, in <module>
from E5Gui.E5SingleApplication import E5SingleApplicationClient
File "/usr/local/lib/python3.1/site-packages/eric5/E5Gui/E5SingleApplication.py", line 14, in <module>
from Utilities.SingleApplication import SingleApplicationClient, SingleApplicationServer
[Code]...
Recently installed a new distro OpenSUSE 11.4 x86_64. I installed it in a minimal configuration for my needs, on after installing a minimal system installed hypervisor Xen 4.0.2. He also set for a lot of dependencies, and utilities. On one of them I have a problem. Trying to run a utility to create a virtual machine "vm-install", but crashes the next kind of error:
Code:
Traceback (most recent call last):
File "/usr/bin/vm-install", line 30, in <module>
import vminstall.job
File "/usr/lib/python2.7/site-packages/vminstall/job.py", line 28, in <module>
[code]....
I tried to install wallpaper_daemon
$ ./wallpaper_daemon.py --install
Traceback (most recent call last):
File "./wallpaper_daemon.py", line 11, in <module>
import gtk
ImportError: No module named gtk
I do not know what this error, and what to do.
Python 3.1 came out about a month ago, but now that I have upgraded, I can no longer import the GASP module
output:
Code:
anthony@anthony-desktop:~$ python Python/BYTE.py
Traceback (most recent call last):
File "Python/BYTE.py", line 2, in <module>
from gasp import *
ImportError: No module named gasp
Importing GASP from Python 2.6 works just fine, but not with 3.1. How/where do I install/move the appropriate files so that I can use GASP?
I have installed MySQLdb on my Slackware 13.1 x64.But import error. python 2.6,mysql 5.1,Mysql-python-1.2.3.
[code]...
I am importing my project to another machine on my LAN to the directory:
/srv/svn/repos/my-repo
where my-repo was created via svnadmin create option
The permissions of /srv/svn/repos/my-repo are
drwxr-xr-x 6 svn svn 4096 2010-04-19
17:30 my-repo
I executed following command to import myProject files to my-repo on remote system
sudo svn import -m "First import" myProject svn+ssh://baltusaj@192.2.12.133/srv/svn/repos/my-repo
This command started 'Adding' files but gave following error after 'Adding' 7 files
svn: Can't open file '/srv/svn/repos/baltoros-valgrind/db/txn-current-lock': Permission denied
Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:
14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found
14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found
[code].....
Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.
After upgrading my media computer earlier today, I tried to run Samba config (system-config-samba) and it crashed. Running again in terminal I got the following error:-
Code:
import mainWindow
File "/usr/share/system-config-samba/mainWindow.py", line 30, in <module> import gtk.glade
ImportError: No module named glade
Ths was fixed by installing (via Synaptic):-
Code:
python-glade2
When I try to load the Realtek 8187 modules to kernel using the ./wlan1up command, I get the following error:
[root@localhost rtl8187_linux_26.1025.0328.2007]# ./wlan1up
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 File exists
[code]...
Can someone tell me how to correct the "Invalid module format"? I hope that correcting the "Invalid module format" error, I will not have the "Unknown symbol in module" error.
Note: I am using wlan1 for this module as I previously am online with the wlan0 network.The same error occurs if I use ./wlan0up.
[root@testbed ~]# yum
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?[code]....
WTF? It worked until I did a "yum update yum".
I've been unable to boot into x using the real-time kernel from CCRMA at home. I get the error "Failed to load module "nvidia" (module-specific error,0) no drivers available. I'm using the driver from Nvidia. I know that this is not an official Fedora kernel and I should be bothering CCRMA about this, but in the mean time could I edit the entry in grub.conf so that it will use the Nouveau driver for that kernel only? That way I could "dual-boot", and just use the rt kernel when I want to use audio software and don't need 3d graphics.
View 5 Replies View RelatedWhat is the error "invalid module format" and the message "insert kernel module" mean? And whats the reason for the same?
View 8 Replies View RelatedI saw it mentioned in the Dec-2010 issue of Linuxjournal, but I can't get it to run, either from the rpm in the build service, nor from the tarball on the whyteboard website, nor from the rpm on the whyteboard web site. In all cases I get an error something like:
Code:
oldcpu@hal2009:~> python whyteboard.py
Traceback (most recent call last):
File "whyteboard.py", line 46, in <module>
import wx
ImportError: No module named wx
[code]....
I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.
#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]
I am having a problem while inserting a particular module.
Following are some prints :-
I am using STLinux-2.4 Distribution, kernel 2.6
I have changed the access permissions on all the .ko as rwx. Still I am getting the problem.
I update my last kernl to 2.6.38-rc7 but when I launch VirtualBox, on stdout.The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.38-rc7) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup.
View 1 Replies View RelatedI keep getting the error
"Initializing USB keyboard: Modprobe : Can't locate module keybdev [failed]
and "initializing USB Mouse: Modprobe : Cant locate module mouse dev [failed]
I am using Red Hat linux and trying to compile my own kernel...