Software :: MySQLdb ImportError: No Module Named Pkg_resources
Apr 24, 2011I 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 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 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.
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]....
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?
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 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
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
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)]
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.
$
I 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
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
View 2 Replies View RelatedI 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?
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.
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.
[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 am trying to install the MySQLdb package for python and the instructions tell me that I need to add mysql_config to my path. This file does not appear to exist in my mysql installation, or anywhere on my machine. I installed mysql-server from the ubuntu package manager, and then did a search of my system for that file.
Code:
sudo find / -name mysql_config
This gave me no results. where I can find this? Is it part of some extra toolkit for mysql?
I 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've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?
View 6 Replies View RelatedTried installing and running entertainer and when I try and run it i get this error:
mike@mike-laptop:~/entertainer/src$ ./entertainer-frontend.py
Traceback (most recent call last):
File "./entertainer-frontend.py", line 25, in <module>
from frontend.frontend_client import FrontendClient
[Code]....
using Tumbleweed + Gnome3 and GnomeApps-Repo on 64 bit System.I already found this bug url. but now that this is solved gwibber should work but here i get Traceback (most recent call last):
File "/usr/bin/gwibber", line 10, in <module>
import sys, gtk, optparse, dbus, wnck, time
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: could not import gobject (could not find _PyGObject_API object)
I installed the FC8.0 by hard disk! The system in (hd0,0) is windows xp! THEN i copy vmlinuz and initrd.img to c: Using GRUB like this:
title Install Fedora 8
kernel (hd0,0)/vmlinuz
initrd (hd0,0)/initrd.img
when finished to choose the keyborad the installing started but it said:
ImportError:/user/lib/libdhcp6client-0.10.so.0:Invalid ELF header
how can I continue to install?why this happens?
Having installed samba4 and smbfs I am trying to share my documents directory into my home network. But when try to do this I get the following error -
Samba's testparm returned error 1: Traceback (most recent call last):
File "/usr/bin/testparm", line 43, in <module>
import samba
[code]....
I am using 10.10. I want to use ubuntu machine as my backup.
I am trying to install a Sunix 4018T dual parallel port card on a pc with Mandriva Linux 2010.1: Dealer told me that linux has driver for this card already so I inserted it and turned on my pc. Unfortunately when I try to install my Okidata ML320, cups it's not showing any parallel ports. I try to update all the system with last patches and packages :I tested the card on a pc with windows xp, installed my printer and it works perfectly.
View 3 Replies View RelatedWhen 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.