Hello i can't import cherrypy2 but i don't know why this is the sys
path:
'', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
setuptools-0.6c7-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg',
'/home/pirataja/opo.net/python/lib/python2.5/site-packages/
TurboJson-1.1.2-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/TurboCheetah-1.0-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/simplejson-1.9.1-py2.5-
linux-i686.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-
packages/RuleDispatch-0.5a0.dev_r2306-py2.5-linux-i686.egg', '/home/
pirataja/opo.net/python/lib/python2.5/site-packages/PasteScript-1.6.2-
py2.5.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
FormEncode-1.0.1-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/DecoratorTools-1.7-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/configobj-4.5.2-py2.5.egg',
'/home/pirataja/opo.net/python/lib/python2.5/site-packages/
CherryPy-2.3.0-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/kid-0.9.6-py2.5.egg', '/home/pirataja/opo.net/
python/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-
i686.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/PasteDeploy-1.3.1-
py2.5.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
Paste-1.7-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python25.zip', '/home/pirataja/pirata-jacopo.net/python/lib/
python2.5', '/home/pirataja/opo.net/python/lib/python2.5/plat-
linux2',
'/home/pirataja/opo.net/python/lib/python2.5/lib-tk',
'/home/pirataja/opo.net/python/lib/python2.5/lib-dynload', '/home/
pirataja/opo.net/python/lib/python2.5/site-packages']
For my is all ok but whe i do import cherrypy2 i get no mudule name
cherrypy2
Regards
Luca 5 1263
On Jun 6, 10:22*am, luca72 <lucabe...@libero.itwrote:
Hello i can't import cherrypy2 but i don't know why this is the sys
path:
'', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
setuptools-0.6c7-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg',
'/home/pirataja/opo.net/python/lib/python2.5/site-packages/
TurboJson-1.1.2-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/TurboCheetah-1.0-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/simplejson-1.9.1-py2.5-
linux-i686.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-
packages/RuleDispatch-0.5a0.dev_r2306-py2.5-linux-i686.egg', '/home/
pirataja/opo.net/python/lib/python2.5/site-packages/PasteScript-1.6.2-
py2.5.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
FormEncode-1.0.1-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/DecoratorTools-1.7-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/configobj-4.5.2-py2.5.egg',
'/home/pirataja/opo.net/python/lib/python2.5/site-packages/
CherryPy-2.3.0-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/kid-0.9.6-py2.5.egg', '/home/pirataja/opo.net/
python/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-
i686.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/PasteDeploy-1.3.1-
py2.5.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
Paste-1.7-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python25.zip', '/home/pirataja/pirata-jacopo.net/python/lib/
python2.5', '/home/pirataja/opo.net/python/lib/python2.5/plat-
linux2',
'/home/pirataja/opo.net/python/lib/python2.5/lib-tk',
'/home/pirataja/opo.net/python/lib/python2.5/lib-dynload', '/home/
pirataja/opo.net/python/lib/python2.5/site-packages']
For my is all ok but whe i do import cherrypy2 i get no mudule name
cherrypy2
Regards
Luca
because it's "import cherrypy" and not "import cherrypy2"
On 6 Giu, 10:31, Chris <cwi...@gmail.comwrote:
On Jun 6, 10:22 am, luca72 <lucabe...@libero.itwrote:
Hello i can't import cherrypy2 but i don't know why this is the sys
path:
'', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
setuptools-0.6c7-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg',
'/home/pirataja/opo.net/python/lib/python2.5/site-packages/
TurboJson-1.1.2-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/TurboCheetah-1.0-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/simplejson-1.9.1-py2.5-
linux-i686.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-
packages/RuleDispatch-0.5a0.dev_r2306-py2.5-linux-i686.egg', '/home/
pirataja/opo.net/python/lib/python2.5/site-packages/PasteScript-1.6.2-
py2.5.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
FormEncode-1.0.1-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/DecoratorTools-1.7-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/configobj-4.5.2-py2.5.egg',
'/home/pirataja/opo.net/python/lib/python2.5/site-packages/
CherryPy-2.3.0-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/kid-0.9.6-py2.5.egg', '/home/pirataja/opo.net/
python/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-
i686.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/PasteDeploy-1.3.1-
py2.5.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
Paste-1.7-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python25.zip', '/home/pirataja/pirata-jacopo.net/python/lib/
python2.5', '/home/pirataja/opo.net/python/lib/python2.5/plat-
linux2',
'/home/pirataja/opo.net/python/lib/python2.5/lib-tk',
'/home/pirataja/opo.net/python/lib/python2.5/lib-dynload', '/home/
pirataja/opo.net/python/lib/python2.5/site-packages']
For my is all ok but whe i do import cherrypy2 i get no mudule name
cherrypy2
Regards
Luca
because it's "import cherrypy" and not "import cherrypy2"
sorry but from another python installation i import cherrypy2 as
cherrypy and all works
Regards
Luca
On Jun 6, 10:59*am, luca72 <lucabe...@libero.itwrote:
On 6 Giu, 10:31, Chris <cwi...@gmail.comwrote:
On Jun 6, 10:22 am, luca72 <lucabe...@libero.itwrote:
Hello i can't import cherrypy2 but i don't know why this is the sys
path:
'', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
setuptools-0.6c7-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg',
'/home/pirataja/opo.net/python/lib/python2.5/site-packages/
TurboJson-1.1.2-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/TurboCheetah-1.0-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/simplejson-1.9.1-py2.5-
linux-i686.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-
packages/RuleDispatch-0.5a0.dev_r2306-py2.5-linux-i686.egg', '/home/
pirataja/opo.net/python/lib/python2.5/site-packages/PasteScript-1.6.2-
py2.5.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
FormEncode-1.0.1-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/DecoratorTools-1.7-py2.5.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/configobj-4.5.2-py2.5.egg',
'/home/pirataja/opo.net/python/lib/python2.5/site-packages/
CherryPy-2.3.0-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python2.5/site-packages/kid-0.9.6-py2.5.egg', '/home/pirataja/opo.net/
python/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-
i686.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg', '/home/pirataja/
opo.net/python/lib/python2.5/site-packages/PasteDeploy-1.3.1-
py2.5.egg', '/home/pirataja/opo.net/python/lib/python2.5/site-packages/
Paste-1.7-py2.5.egg', '/home/pirataja/opo.net/python/lib/
python25.zip', '/home/pirataja/pirata-jacopo.net/python/lib/
python2.5', '/home/pirataja/opo.net/python/lib/python2.5/plat-
linux2',
'/home/pirataja/opo.net/python/lib/python2.5/lib-tk',
'/home/pirataja/opo.net/python/lib/python2.5/lib-dynload', '/home/
pirataja/opo.net/python/lib/python2.5/site-packages']
For my is all ok but whe i do import cherrypy2 i get no mudule name
cherrypy2
Regards
Luca
because it's "import cherrypy" and not "import cherrypy2"
sorry but from another python installation i import cherrypy2 as
cherrypy and all works
Regards
Luca
Did you install Lino on the other installation ? http://lino.sourceforge.net/src/3.html
It's the only mention of a cherrypy2 I know of.
No i haven't install lino
but if frmp the python of this computer i make import cherrypy2 i
import it without problem this is the python path:
luca72@linux-z0ta:~python
Python 2.5.1 (r251:54863, Jan 10 2008, 18:00:49)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>import cherrypy2 import sys sys.path
['', '/usr/lib64/python2.5/site-packages/setuptools-0.6c7-py2.5.egg',
'/usr/lib64/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg', '/
usr/lib64/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg', '/usr/
lib64/python2.5/site-packages/TurboJson-1.1.2-py2.5.egg', '/usr/lib64/
python2.5/site-packages/TurboCheetah-1.0-py2.5.egg', '/usr/lib64/
python2.5/site-packages/simplejson-1.8.1-py2.5-linux-x86_64.egg', '/
usr/lib64/python2.5/site-packages/RuleDispatch-0.5a0.dev_r2306-py2.5-
linux-x86_64.egg', '/usr/lib64/python2.5/site-packages/
PasteScript-1.6.2-py2.5.egg', '/usr/lib64/python2.5/site-packages/
FormEncode-1.0.1-py2.5.egg', '/usr/lib64/python2.5/site-packages/
DecoratorTools-1.7-py2.5.egg', '/usr/lib64/python2.5/site-packages/
configobj-4.5.2-py2.5.egg', '/usr/lib64/python2.5/site-packages/
CherryPy-2.3.0-py2.5.egg', '/usr/lib64/python2.5/site-packages/
kid-0.9.6-py2.5.egg', '/usr/lib64/python2.5/site-packages/
Cheetah-2.0.1-py2.5-linux-x86_64.egg', '/usr/lib64/python2.5/site-
packages/PyProtocols-1.0a0dev_r2302-py2.5-linux-x86_64.egg', '/usr/
lib64/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg', '/usr/
lib64/python2.5/site-packages/Paste-1.6-py2.5.egg', '/usr/local/lib64/
python2.5/site-packages/pagedemo1-1.0-py2.5.egg', '/usr/lib/
python25.zip', '/usr/lib64/python2.5', '/usr/lib64/python2.5/plat-
linux2', '/usr/lib64/python2.5/lib-tk', '/usr/lib64/python2.5/lib-
dynload', '/usr/lib64/python2.5/site-packages', '/usr/lib64/python2.5/
site-packages/Numeric', '/usr/lib64/python2.5/site-packages/PIL', '/
usr/lib64/python2.5/site-packages/gtk-2.0', '/usr/lib64/python2.5/site-
packages/wx-2.8-gtk2-unicode', '/usr/local/lib64/python2.5/site-
packages']
>>>
Regards
Luca
luca72 <lu*******@libero.itwrote:
> No i haven't install lino
but if frmp the python of this computer i make import cherrypy2 i import it without problem this is the python path:
It's quite possible that this other system has both CherryPy 2.x and
CherryPy 3.x installed, and the admin wanted them both to be available at
the same time.
However, by default CherryPy always installs itself as "cherrypy" with no
number.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Stian Søiland |
last post by:
all examples performed with:
Python 2.3+ (#2, Aug 10 2003, 11:09:33)
on linux2
(2, 3, 0, 'final', 1)
This is a recursive import:
|
by: Vio |
last post by:
Hi,
I've been trying to embed (statically) wxPy alongside an embedded py
interpreter on a linux/gtk box.
At one point, for some reason misc.o linking reported "multiple
definitions of...
|
by: John Roth |
last post by:
I've found a case where it seems that Python is importing two copies of a
module without any reason or indication. It took me a while to verify that
this is what is occuring: I had to write a...
|
by: Steve Holden |
last post by:
This is even stranger: it makes it if I import the module a second time:
import dbimp as dbimp
import sys
if __name__ == "__main__":
dbimp.install()
#k = sys.modules.keys()
#k.sort()
#for...
|
by: mark |
last post by:
In Access 2000 and 2002, I have created an import specification to import the
fixed-width recordset below into an existing table. I am having strange
problems with the import of the date and time...
|
by: Bruce W. Roeser |
last post by:
All,
I'm reading a book by Charles Petzold (Programming VS.Net). Pretty good
content but am confused about the difference. From the text:
...
|
by: Jon |
last post by:
It appears that (windows) python searches in the current working
directory before looking in the local site-packages directory, or that
'.' comes first in sys.path? The problem arises when I made...
|
by: Ron Adam |
last post by:
from __future__ import absolute_import
Is there a way to check if this is working? I get the same results with or
without it.
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17)
on win 32
...
|
by: rsoh.woodhouse |
last post by:
Hi,
I'm trying to work out some strange (to me) behaviour that I see when
running a python script in two different ways (I've inherited some
code that needs to be maintained and integrated with...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| |