jhomme wrote:
Hi,
For no reason I can think of, Python 2.4 on Windows 2000 is suddenly complaining about "Import
site" failing. I am so new to python that I have no idea what this is all about.
When Python starts up it automatically imports the 'site' module. You should have site.py, site.pyc and/or site.pyo in your Python2.4\Lib directory, that is the file it is trying to find.
I have been running
programs successfully until today. Now, no matter what program I run, this happens. Funny thing is,
if I run Python from the Run dialog, I don't see this, but perhaps it already goes by before the
Python window opens. I usually get a command prompt and do python file.py. In frustration, I
uninstalled Python.
Did you re-install Python? Are you still having the problem?
How can I intellegently figure out what is going on here. I follow the
directions Python gives about using -v, but I don't understand what all the other output is trying
to tell me.
You could post the output here, maybe someone else can figure out the problem.
Kent
I have not touched anything in any of the Python directories.
Thanks for any and all help.
Jim _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor