import cherrypy2

Chris cwitts at gmail.com
Fri Jun 6 10:31:56 CEST 2008


On Jun 6, 10:22 am, luca72 <lucabe... at libero.it> wrote:
> 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"



More information about the Python-list mailing list