On Tue, Jul 20, 2010 at 9:14 PM, Guillermo Casalis <gncasalis@???> wrote:
> Tengo hecha una aplicacion en python, django, apache, mysql y cuando la
> ejecuto me da el siguiente error:
>
> MOD_PYTHON ERROR
>
> ProcessId: 2245
> Interpreter: '127.0.1.1'
>
> ServerName: '127.0.1.1'
>
> DocumentRoot: '/var/www/'
>
> URI: '/web/admin'
> Location: '/web/'
> Directory: None
> Filename: '/var/www/web'
> PathInfo: '/admin'
>
>
> Phase: 'PythonHandler'
> Handler: 'django.core.handlers.modpython'
>
> Traceback (most recent call last):
>
> File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537,
> in HandlerDispatch
>
> default=default_handler, arg=req, silent=hlist.silent)
>
> File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1202,
> in _process_target
> module = import_module(module_name, path=path)
>
>
> File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 304,
> in import_module
> return __import__(module_name, {}, {}, ['*'])
>
> ImportError: No module named django.core.handlers.modpython
>
>
> en que le estoy errando.
Da la sensación de que no tenés Django [correctamente?] instalado.
¿Que pasa si probás
>>> import django
en un intérprete iteractivo en una consola del mismo sistema?
--
Ramiro Morales | http://rmorales.net