[mod_python] Import Error on Windows 2000

Graham Dumpleton graham.dumpleton at gmail.com
Thu Feb 28 21:01:41 EST 2008


Is Apache being run as a service, or as you? If run as a service and
thus potentially a different user, does that user have correct access
privileges to everything under Python25 directory?

Graham

2008/2/29 Bruno Tikami <bruno at tikami.com.br>:
> C:\Windows\system32
>
>
>
> Tkm
>
> On 2/28/08, Graham Dumpleton <graham.dumpleton at gmail.com> wrote:
> > Do a search of your whole box for any copies of python25.dll. Where are
> they?
> >
> > Graham
> >
> > 2008/2/29 Bruno Tikami <bruno at tikami.com.br>:
> >
> > > One more thing: msvcr71.dll exists on Windows system directory
> > >
> > >
> > >
> > > On 2/28/08, Bruno Tikami <bruno at tikami.com.br> wrote:
> > > > Graham,
> > > >
> > > >
> > > > thanks for your reply man but I have Administrator privileges on the
> > > server and only Python2.5 installed. I've already uninstalled either
> Apache
> > > and mod_python and then reisntalled them. I've also rebooted the server
> > > beetween this procedures. Do you think I can try something else ?
> > > >
> > > > Regards,
> > > >
> > > > Tkm
> > > >
> > > >
> > > >
> > > > On 2/28/08, Graham Dumpleton <graham.dumpleton at gmail.com> wrote:
> > > > > 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
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > []s!
> > > >
> > > > Tkm
> > > > http://djangopeople.net/brunotikami/
> > >
> > >
> > >
> > > --
> > > []s!
> > >
> > > Tkm
> > > http://djangopeople.net/brunotikami/
> >
>
>
>
> --
>
> []s!
>
> Tkm
> http://djangopeople.net/brunotikami/


More information about the Mod_python mailing list