Project

General

Profile

FAQ » History » Version 1

Jan Klopper, 2012-04-23 10:11

1 1 Jan Klopper
h1. FAQ
2 1 Jan Klopper
3 1 Jan Klopper
h2. Installation errors:
4 1 Jan Klopper
5 1 Jan Klopper
* ImportError: No module named uweb
6 1 Jan Klopper
** 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?
7 1 Jan Klopper
** <pre>
8 1 Jan Klopper
<Directory "/var/www/mysite/">
9 1 Jan Klopper
  PythonPath "['/path/to/parent/folder/of/uweb'] + sys.path"
10 1 Jan Klopper
</Directory></pre>
11 1 Jan Klopper
12 1 Jan Klopper
13 1 Jan Klopper
** 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.