CGI script refuses to run python

Sheila King sheila at spamcop.net
Fri Apr 6 22:36:29 EDT 2001


This is past my ability to help. I just shared, because the original
description you gave, sounded like the type of problem that I had had
recently. But I'm still a newbie, and only solved my problem with extensive
help.

Hopefully someone who is a bit more "expert" will come along?

Good luck,

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


On Fri, 6 Apr 2001 18:40:17 -0700, "vikas" <viznogoud at yahoo.com> wrote in
comp.lang.python in article <tcsrp4i1c1i824 at corp.supernews.com>:

:The binary is in /usr/local/bin.
:The libraries are in /usr/local/lib/python2.0.
:
:Python 2.0 (#1, Feb 26 2001, 14:23:43)
:[GCC 2.95.2 19991024 (release)] on freebsd4
:Type "copyright", "credits" or "license" for more information.
:>>>
:>>>
:>>> import sys
:>>> sys.path
:['', '/usr/local/lib/python2.0', '/usr/local/lib/python2.0/plat-freebsd4',
:'/usr/local/lib/python2.0/lib-tk', '/usr/local/lib/python2.0/lib-dynload',
:'/usr/local/lib/python2.0/site-packages']
:>>>
:
:The scripts run fine when run from a shell. They just don't when run from
:CGI.
:
:Like I mentioned, I ran a CGI script like yours but even smaller.
:It does not even get past the header (#!/usr/local/bin/python).




More information about the Python-list mailing list