[mod_python] Import Error on Windows 2000

Graham Dumpleton graham.dumpleton at gmail.com
Thu Feb 28 19:51:05 EST 2008


Read section 'Python Requirements' of:

  http://code.google.com/p/modwsgi/wiki/InstallationOnWindows

Same things apply to mod_python.

In short, install Python/Apache as Administrator. If you haven't done
this, uninstall them as user you installed them as, and reinstall them
as Administrator. Also heed notes about multiple Python installations.

Graham

2008/2/28 Bruno Tikami <bruno at tikami.com.br>:
> Hello fellows,
>
> I've just subscribed to the list and I'm writing to ask for help on a error
> that (as far as I could serach on Google) lot of people have already faced:
> Import error.
>
>
>
> Mod_python version. - 3.3.1
>
> Your operating system type, Windows 2000
>
> Your Python version, 2.5
> Your Apache version. 2.2
>
> Relevant parts of the Apache config, .htaccess + Relevant parts of the
> Python code. : I'm just trying the mpinfo trobleshooting
> Error:
>
> ImportError: No module named mod_python.apache
>  [Thu Feb 28 01:08:37 2008] [error] make_obcallback: Python path being used
> "['C:\\\\Python25\\\\', 'C:\\\\Python25\\\\Scripts', 'C:\\\\tkmsoft\\\\',
> 'C:\\\\tkmsoft\\\\srm', '', 'C:\\\\WINNT\\\\system32\\\\python25.zip',
> 'C:\\\\Python25\\\\Lib', 'C:\\\\Python25\\\\DLLs',
> 'C:\\\\Python25\\\\Lib\\\\lib-tk', '', 'C:\\\\Program Files\\\\Apache
> Software Foundation\\\\Apache2.2\\\\bin']".
>  [Thu Feb 28 01:08:37 2008] [error] get_interpreter: no interpreter callback
> found.
> [Thu Feb 28 01:08:37 2008] [error] [client 127.0.0.1] python_handler: Can't
> get/create interpreter.
>
> Does anyone know how to solve it ?
>
> Regards,
>
> Tkm
>
>
> _______________________________________________
>  Mod_python mailing list
>  Mod_python at modpython.org
>  http://mailman.modpython.org/mailman/listinfo/mod_python
>
>


More information about the Mod_python mailing list