FAQ » History » Version 1
Version 1/3
-
Next » -
Current version
Jan Klopper, 2012-04-23 10:11
FAQ¶
Installation errors:¶
- ImportError: No module named uweb
- mod_python is able to read your router, but stumbles when it tries to import the uweb package. Are you sure the path to your local copy of the us uweb repos is inside the PYTHON_PATH, and that mod_python uses that path?
<Directory "/var/www/mysite/"> PythonPath "['/path/to/parent/folder/of/uweb'] + sys.path" </Directory>
- When using Standalone, the PHYTON_PATH in your terminal doesn't help in finding the uweb package, resolve this by editing for example your bashrc.