2011-11-18, 01:06
Rumik Wrote:I've found the problem, I just don't know how to fix it...
http://www.installationwiki.org/CherryPy
Go to the Testing Your Installation section.
it says:
If you do not install CherryPy globally to your Python environment, do not forget to set the <code>PYTHONPATH</code> environment variable, else you will get an error as follows:
<pre>
>>> import cherrypy
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named cherrypy
So where/how do I set the PYTHONPATH environemtn variable?
From that error, you shouldn't have to set that and just running "easy_install cherrypy" again from your Python Scripts folder should fix it. As far as setting the Python Path, I'm writing this on my iPad and not near any of my systems that have Python, so unsure off the top of my head. I'm guessing a quick Google search for "Windows Python PYTHONPATH" should give you your solution.