Problems launching cherrypy from source
I've seen some forum posts that say you can launch cherrypy from the source tarball. None of them however, say how to do this. If you try and import cherrypy while sitting in the source directory python will complain that there is no module named cherrypy. However, even the cherrypy documentation says that you should be able to run the tutorials straight from their folder inside the source tarball. When running ./tutorial/tut01_helloworld.py it produces the same error that it can't find a module named cherrpy. Each directory in the source directory has an __init__.py file so they should all be viewed as modules.
The end result would be to have a portable cherrypy webserver where the cherrypy module can be called from /foo/index.py and find cherrypy in /foo/cherrypy.
Problems launching cherrypy from source
-
Hitman9921
- Newbie

- Posts: 6
- Joined: November 9th, 2009, 8:30 pm
Re: Problems launching cherrypy from source
The usual way is to install CherryPy as a Python module,
using one of the common installation methods.
CherryPy comes with a setup.py program to do this.
SABnzbd has its own copy of CherryPy, which is an interim release
with some patches.
We do this because 3.1 is unusable for us and 3.2.0RC1 has a number
serious problems which prevent us from using it.
We haven't looked at the 3.2.0 final release yet.
I don't know what you will use it for, but I cannot really recommend CherryPy.
using one of the common installation methods.
CherryPy comes with a setup.py program to do this.
SABnzbd has its own copy of CherryPy, which is an interim release
with some patches.
We do this because 3.1 is unusable for us and 3.2.0RC1 has a number
serious problems which prevent us from using it.
We haven't looked at the 3.2.0 final release yet.
I don't know what you will use it for, but I cannot really recommend CherryPy.
