CGI script refuses to run python

Sheila King sheila at spamcop.net
Wed Apr 4 19:12:03 EDT 2001


Try this URL:

http://www.aota.net/ubb/Forum3/HTML/001564-1.html

--
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org/


On Wed, 4 Apr 2001 14:53:46 -0700, "vikas" <viznogoud at yahoo.com> wrote in
comp.lang.python in article <tcn5o76ljn8sc3 at corp.supernews.com>:

:Hi,
:I am trying to get this python cgi script to work on apache.
:I made a test script to break down the problem.
:
:So now the script is just:
:#!/usr/local/bin/python
:
:I still get the same error in the web server log:
:
:Could not find platform independant libraries <prefix>
:Could not find platform dependant libraries <exec_prefix>
:Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
:'import site' failed; use -v for traceback
:
:How do I fix this?
:
:Thanx
:Vikas
:




More information about the Python-list mailing list