Programming :: ImportError: No Module Named Mx.DateTime.ISO

Sep 9, 2010

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?

View 2 Replies


ADVERTISEMENT

Fedora :: ImportError: No Module Named _md5

Nov 19, 2010

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.

View 3 Replies View Related

General :: ImportError: No Module Named Qt+fedora12

Jan 17, 2010

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]....

View 1 Replies View Related

Fedora Installation :: ImportError: No Module Named Image

Jul 28, 2009

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]....

View 3 Replies View Related

OpenSUSE :: ImportError - No Module Named QtWebKit When Run Eric5?

Dec 25, 2010

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]...

View 2 Replies View Related

OpenSUSE :: Vm-instal -l ImportError: No Module Named Dbus

Apr 2, 2011

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]....

View 1 Replies View Related

Ubuntu Installation :: Wallpaper_daemon - ImportError: No Module Named Gtk

Feb 22, 2010

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.

View 1 Replies View Related

Ubuntu Installation :: ImportError: No Module Named Gasp

May 8, 2010

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?

View 3 Replies View Related

Software :: MySQLdb ImportError: No Module Named Pkg_resources

Apr 24, 2011

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]...

View 1 Replies View Related

General :: Command Pssh Is Not Working - ImportError: No Module Named Basethread

Apr 5, 2011

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

View 4 Replies View Related

Ubuntu Installation :: Samba Needs Glade On 11.04 - ImportError: No Module Named Glade

May 1, 2011

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

View 2 Replies View Related

Debian Programming :: Import Error / No Module Named Eyed3

Dec 10, 2013

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?

View 4 Replies View Related

Programming :: Formatting A Datetime String - In G++ ?

Jul 10, 2011

I copied and tested a piece of simple formatting a datetime string code from book, c++ cookbook, page 201, Chapter5 section2, Example5-4. but it wont compile in my g++ 4.5.2(on ubuntu 10.04, kernel2.6.35-25)

Example 5-4 formatting a datetime string

Using namespace std;

View 1 Replies View Related

Software :: Yum And No Module Named CElementTree

Mar 24, 2010

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]....

View 12 Replies View Related

CentOS 5 :: Yum - No Module Named CElementTree

Nov 24, 2009

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)]

View 1 Replies View Related

Programming :: Parsing Datetime Domain Names

Oct 25, 2010

I have spent lots of time trying to figure out how to parse the domain part of this file but am stuck.

How should this be approached:

Code:

Code:

The domains need to be parse at a maximum for 4 levels then the remainder will be put the last field.

View 3 Replies View Related

Programming :: Removing Duplicates With Offset - Datetime

Oct 20, 2010

I have a column of datetime entries which I sorted to removed duplicate entries.

I have still lots of entries which are adjacent to each other by 1 second.

How would I go about removing any entries which have an offset of the previous or after entry by 1 second?

Code:

View 5 Replies View Related

CentOS 5 :: Meld No Module Named Pygtk?

Feb 16, 2011

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.
$

View 5 Replies View Related

General :: Kernel Programming - Convert Timespec To Datetime

Dec 29, 2010

I'm changing some syscalls functions into kernel 2.6.36.2

So i'm doing this :

Code:

But i have a output like this : Date 1293619251

How can i convert inode->i_atime into D:M:Y h:m Format?? or just simply D:M:Y

View 1 Replies View Related

SUSE :: Import Error: No Module Named Readline

Dec 5, 2009

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

View 7 Replies View Related

General :: Import Error: No Module Named Apsw

Mar 18, 2011

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 Related

Software :: File /var/lib/named/var/named/reverse/named.zero Failed: File Not Found

Mar 14, 2009

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.

View 14 Replies View Related

Ubuntu Multimedia :: Gimp 2.7 And Python (Import Error - No Module Named Gimp)

Mar 2, 2010

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.

View 6 Replies View Related

Programming :: Match Datetime By The Minute (not An Exact Match By The Second)

Oct 21, 2010

I have the following query:

Code:
$sql="SELECT table1.datetime, table1.user_id, table2.ip, FROM table1,table2 WHERE id='$id' AND (table1.id = table2.id AND table1.datetime = table2.datetime)";

In table2 the datetime fields are about 1 to 2 seconds off due to the source of the data, which I cannot change.

Is it possible via a query match table1.datetime & table2.datetime by HH:MM (ie. to the minute instead of to the second)?

View 1 Replies View Related

CentOS 5 :: Yum - "No Module Named I18n"?

Mar 19, 2009

[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".

View 1 Replies View Related

Programming :: Datetime Format From MM-DD-YYYY HH:MM:SS To YYYY-MM-DD HH:MM:SS

Oct 13, 2010

I need to manipulate a column in a log file from the following format:

Prior to importing to a mysql database.

Unfortunately, I am not able to configure the device which is sending the logs to use the correct standard datetime format.

View 4 Replies View Related

OpenSUSE :: 11.2: Whyteboard - No Module Named Wx - Whyteboard Won't Run

Nov 19, 2010

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]....

View 7 Replies View Related

Server :: /etc/named.conf:57: Open: /etc/named.root.hints: File Not Found

Apr 1, 2011

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]

View 2 Replies View Related

Programming :: Load Fortran Module For Matio Libraries Using Gfortran - Can't Open Module File 'matio.mod' For Reading

Jun 27, 2010

I am interested in using fortran and an external library called matio used to save arrays to matlab .mat files. I have installed the matio and matio-dev packages from synaptics but i cannot compile a code receiving an error Code: christos@christos-laptop:~/Desktop$ gfortran -o test test.f90 -lmatio -lz test.f90:2.13: USE MATIO 1

Fatal Error: Can't open module file 'matio.mod' for reading at (1): No such file or directory How can i load a module in order to use it in fortran through the GCC compiler?

View 1 Replies View Related

Programming :: Read From A File Named MatrixA?

Mar 10, 2011

I am trying to read from a file named matrixA.dat that contains a matrix formatted like this:

2 x 3
1 0 2 -1 3 1

I am reading the lines in, and this is the source that I have so far: Code: #include <stdio.h>
#include <string.h>
#define DATALIMIT 17
#define DIMLIMIT 5
#define NAMELIMIT 40

[Code]...

was stored in dataA, so when I print it all I get is a newline. Why didn't it grab the 1 0 2 -1 3 1 line?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved