Following instructions at http://www.howtoforge.com/how-to-install-django-on-fedora9-apache2-mod_python and http://docs.djangoproject.com/en/1.1/howto/deployment/modpython/
I cannot get past the error: ImportError: Could not import settings 'mysite.settings' (Is it on sys.path? Does it have syntax errors?): No module named mysite.settings I have check the python path, I even printed our sys.path from "/usr/ lib/python2.6/site-packages/django/conf/__init__.py, it looks like: ['/home/mycode', '/usr/lib/python2.6/site-packages/django', '/usr/ lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/ plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib- old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site- packages', '/usr/lib64/python2.6/site-packages/PIL', '/usr/lib64/ python2.6/site-packages/gst-0.10', '/usr/lib64/python2.6/site-packages/ gtk-2.0', '/usr/lib64/python2.6/site-packages/webkit-1.0', '/usr/lib/ python2.6/site-packages'] I have also chown and chmod the /home/mycode directory. It is readable by all. My system is Fedora 12, apache 2.2.14, djanjo 1.1.1, python 2.6.2 I added to python.conf, the following: <Location "/mysite"> SetHandler python-program PythonPath "['/home/mycode', '/usr/lib/python2.6/site-packages/ django'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On PythonOption djanjo.root /mycode </Location> Any thoughts ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.