Python not starting
Chris Angelico
rosuav at gmail.com
Sun May 5 11:00:59 EDT 2013
On Mon, May 6, 2013 at 12:16 AM, Roy Smith <roy at panix.com> wrote:
> In article <c7c26e78-b786-4205-9ffa-5eb29006479c at googlegroups.com>,
> DRJ Reddy <rama29065 at gmail.com> wrote:
>> Even from command prompt i can't start python.The error is coming up.Python
>> in Windows7 box.
>
> I don't know Windows, but my guess is still that it's finding some other
> file called stat.py before it's finding the system library one. Try
> doing a file system search for all files named "stat.py" and see what
> you find. On unix, I would do "find / -name stat.py". I assume there's
> something similar on Windows.
Or alternatively, disable site.py by invoking python -S, and then
manually import stat and see what its file is.
ChrisA
More information about the Python-list
mailing list