473,396 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

No module named pyExcelerator Error

Hi,
I'm new of Python, and this problem stucked me whole day but can't be
solved.

I use python 2.4.3, which is download from cygwin packages. Then I
downloaded pyexcelerator-0.5.3a, unzip it,

$ python ./pyExcelerator/setup.py install
running install
running build
running build_py
package init file 'pyExcelerator/__init__.py' not found (or not a
regular file)
copying pyExcelerator/setup.py -build/lib/pyExcelerator
package init file 'pyExcelerator/__init__.py' not found (or not a
regular file)
running install_lib
copying build/lib/pyExcelerator/setup.py -/usr/lib/python2.4/site-
packages/pyE
xcelerator
byte-compiling /usr/lib/python2.4/site-packages/pyExcelerator/setup.py
to setup.
pyc

But 'pyExcelerator/__init__.py' is absolutely there, I don't know why
I got the warning. Then I tried to import pyExcelerator,
>>import pyExcelerator
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named pyExcelerator

anybody can tell me where's wrong please? Thanks in advance!

Feb 12 '07 #1
5 8058
On Feb 12, 11:55 am, "susan" <silverbeac...@gmail.comwrote:
Hi,
I'm new of Python, and this problem stucked me whole day but can't be
solved.

I use python 2.4.3, which is download from cygwin packages.
Is your Python installation working properly for you with other
things, or is installing pyExcelerator the first thing that you have
tried?
Then I
downloaded pyexcelerator-0.5.3a, unzip it,
Is that "5" a typo? The latest version is 0.6.3a
>
$ python ./pyExcelerator/setup.py install
Try this instead:
$ cd pyExcelerator
$ python ./setup.py install

i.e. do what the pyExcelerator README tells you to do.
"""
0x0003. Installation.
--------------------
As usually: python ./setup.py install
"""
This may make a positive difference; it can't be worse.

HTH,
John
Feb 12 '07 #2
"susan" <si***********@gmail.comon 11 Feb 2007 16:55:35 -0800 didst
step forth and proclaim thus:
Hi,
I'm new of Python, and this problem stucked me whole day but can't be
solved.
[snip]
anybody can tell me where's wrong please? Thanks in advance!
What are the contents of sys.path from an interactive prompt? Have
you tried the official windows Python? Is there a reason you need to
use the cygwin Python?

--
Sam Peterson
skpeterson At nospam ucdavis.edu
"if programmers were paid to remove code instead of adding it,
software would be much better" -- unknown
Feb 12 '07 #3
On Feb 11, 8:16 pm, "John Machin" <sjmac...@lexicon.netwrote:
On Feb 12, 11:55 am, "susan" <silverbeac...@gmail.comwrote:
Hi,
I'm new of Python, and this problem stucked me whole day but can't be
solved.
I use python 2.4.3, which is download from cygwin packages.

Is your Python installation working properly for you with other
things, or is installingpyExceleratorthe first thing that you have
tried?
Then I
downloadedpyexcelerator-0.5.3a, unzip it,

Is that "5" a typo? The latest version is 0.6.3a
$ python ./pyExcelerator/setup.py install

Try this instead:
$ cdpyExcelerator
$ python ./setup.py install

i.e. do what thepyExceleratorREADME tells you to do.
"""
0x0003. Installation.
--------------------
As usually: python ./setup.py install
"""
This may make a positive difference; it can't be worse.

HTH,
John
Dear John,

Thank you so much! I tried as you said, finally it works. You are
right, the version should be 0.6.3a.
I still wonder why my way didn't work. I think maybe there's some hard
code of installation directory, hence, installation won't be succesful
if the directory is not exactly the same as the one in README.

cheers,

Feb 12 '07 #4
On Feb 11, 11:22 pm, Samuel Karl Peterson
<skpeter...@nospam.please.ucdavis.eduwrote:
"susan" <silverbeac...@gmail.comon 11 Feb 2007 16:55:35 -0800 didst
step forth and proclaim thus:
Hi,
I'm new of Python, and this problem stucked me whole day but can't be
solved.

[snip]
anybody can tell me where's wrong please? Thanks in advance!

What are the contents of sys.path from an interactive prompt? Have
you tried the official windows Python? Is there a reason you need to
use the cygwin Python?

--
Sam Peterson
skpeterson At nospam ucdavis.edu
"if programmers were paid to remove code instead of adding it,
software would be much better" -- unknown
Hi Sam,
There's no any special reason I use cygwin python, I just feel it's
easy and convinent to download and install.
Do you have any better suggestion?

Feb 12 '07 #5
En Mon, 12 Feb 2007 01:46:51 -0300, susan <si***********@gmail.com>
escribió:
$ python ./pyExcelerator/setup.py install

Try this instead:
$ cdpyExcelerator
$ python ./setup.py install
I still wonder why my way didn't work. I think maybe there's some hard
code of installation directory, hence, installation won't be succesful
if the directory is not exactly the same as the one in README.
It doesn't matter the directory name, what matters is that you run the
script from the install dir (where setup.py resides) and not from other
place.

--
Gabriel Genellina

Feb 12 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carsten Gehling | last post by:
Figured out myself - I just removed the line with "from url import Url" -it doesn't seem to be used anywhere ;-) - Carsten > -----Oprindelig meddelelse----- > Fra:...
2
by: x-herbert | last post by:
Hi, I have a small test to "compile" al litle script as a WMI-Tester. The script include a wmi-wrapper and "insert" the Win32-modeles. here the code: my "WMI-Tester.py" ----- import wmi
0
by: M. Lavasani | last post by:
Hi I am trying to test Python-2.3. Any solution for this problem please: >>>gmake test case $MAKEFLAGS in \ *-s*)...
1
by: ye juan | last post by:
Hi, all I have some questions to ask: 1. How can I add a standard module named "datetime" in Jython when the error happens :"Traceback (innermost last): File "C:\python\test.py", line 3, in...
0
by: Mike | last post by:
Hi. I have Python 2.4 installed on my local machine in c:\Python24. I have also downloaded the python for windows extensions installer pywin32-208.win32-py2.4.exe and installed this to...
0
by: krishnakant Mane | last post by:
hello all, can some one suggest me the best solution for a package? I have a package folder called idm and there are the following files in there. __init__.py which is right now empty....
1
by: cpmishra | last post by:
Hi all I have used DBUtil with python2.4. when we run to program in dos command ,successfully run but when we run in apache server (locally)with modepython then given error.Pls help me error:...
1
by: Prof Rodney Coates | last post by:
Although I have been using Macs for a quarter of a century and was doing scientific programming in the '60's I am VERY new to Python on the Mac. I have been writing some very simple applications and...
2
by: emallove | last post by:
I'm running into the below "No modules named _sha256" issue, with a python installed in a non-standard location. $ python Python 2.5.2 (r252:60911, May 20 2008, 09:46:50) on linux2 Type...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.