473,785 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8088
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...@lexic on.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 installingpyExc eleratorthe first thing that you have
tried?
Then I
downloadedpyexc elerator-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 thepyExcelerato rREADME 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...@nos pam.please.ucda vis.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
4552
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: python-list-admin@python.org > På vegne af Carsten Gehling > Sendt: 16. juli 2003 16:24
2
17722
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
6309
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*) LD_LIBRARY_PATH=/net/ia64/lavasani/Python-2.3:/usr/local/lib/hpux32:/usr/local/lib CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
1
3777
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 ? ImportError: no module named datetime " The line 3 is writen: "from datetime import datetime,
0
3817
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 C:\Python24\Lib\site-packages Trying to run a python script through a C# console app is causing me problems: the last line of code in the following block results in a no module named win32ap error. I'm not sure if this is because there is no
0
1111
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. mainwindow.py which has a single class called MainWindow which is an MDI Parent frame from wxpython. student.py which is a child frame which gets called from the main menu. exam.py, another child frame. now when I try to run mainwindow.py file with the...
1
6163
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: No module named DBUtils.PooledDB cp mishra
1
4354
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 running them using IDLE. To start with the applications worked OK. However, as time has progressed, the error message "ImportError: No module named ****" has been generated with increasing frequency. It has now become impossible to use Python...
2
3774
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 "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/ws/ompi-tools/lib/python2.5/md5.py", line 6, in <module>
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9481
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10155
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10095
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9954
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8979
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7502
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5383
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

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.