Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44740

Re: Python not starting

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Python not starting
Date 2013-05-05 10:16 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-AB6F78.10164805052013@news.panix.com> (permalink)
References <9ace60b8-a07d-41bc-ac9f-507f6c61f955@googlegroups.com> <roy-E16D26.09515805052013@news.panix.com> <c7c26e78-b786-4205-9ffa-5eb29006479c@googlegroups.com>

Show all headers | View raw


> On Sunday, May 5, 2013 7:21:59 PM UTC+5:30, Roy Smith wrote:
> > In article <9ace60b8-a07d-41bc-ac9f-507f6c61f955@googlegroups.com>,

> > Just a wild guess, but did you happen to create a module of your own 
> > named "stat", which is getting imported instead of the one from the 
> > library?

In article <c7c26e78-b786-4205-9ffa-5eb29006479c@googlegroups.com>,
 DRJ Reddy <rama29065@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.

The other thing I would try is tracing the python process as it starts 
up.  On unix, I would do something like "strace -e trace=file python" 
and see if it's finding a stat.py in some unexpected place.  Again, I 
can only assume there's something similar on Windows.

Oh, and please don't post with Google Groups.  It double-spaces 
everything and makes your message really difficult to read.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python not starting rama29065@gmail.com - 2013-05-05 06:43 -0700
  Re: Python not starting Roy Smith <roy@panix.com> - 2013-05-05 09:51 -0400
    Re: Python not starting DRJ Reddy <rama29065@gmail.com> - 2013-05-05 07:00 -0700
      Re: Python not starting Roy Smith <roy@panix.com> - 2013-05-05 10:16 -0400
        Re: Python not starting DRJ Reddy <rama29065@gmail.com> - 2013-05-05 07:28 -0700
        Re: Python not starting Chris Angelico <rosuav@gmail.com> - 2013-05-06 01:00 +1000
          Re: Python not starting DRJ Reddy <rama29065@gmail.com> - 2013-05-05 08:11 -0700
            Re: Python not starting Chris Angelico <rosuav@gmail.com> - 2013-05-06 01:20 +1000
              Re: Python not starting DRJ Reddy <rama29065@gmail.com> - 2013-05-05 09:25 -0700
      Re: Python not starting Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-05 15:26 +0100
        Re: Python not starting DRJ Reddy <rama29065@gmail.com> - 2013-05-05 07:32 -0700
          Re: Python not starting Roy Smith <roy@panix.com> - 2013-05-05 13:55 -0400
            Re: Python not starting DRJ Reddy <rama29065@gmail.com> - 2013-05-05 11:15 -0700
              Re: Python not starting Chris Angelico <rosuav@gmail.com> - 2013-05-06 08:29 +1000
                Re: Python not starting drjreddy7@gmail.com - 2013-05-05 20:15 -0700
                Re: Python not starting Chris Angelico <rosuav@gmail.com> - 2013-05-06 14:02 +1000
                Re: Python not starting Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-06 06:06 +0000
                Re: Python not starting DRJ Reddy <rama29065@gmail.com> - 2013-05-06 03:33 -0700
  Re: Python not starting Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-05 18:55 +0000
    Re: Python not starting Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-05 14:47 -0500
    Re: Python not starting drjreddy7@gmail.com - 2013-05-05 19:28 -0700

csiph-web