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


Groups > comp.lang.python > #44744

Re: Python not starting

References <9ace60b8-a07d-41bc-ac9f-507f6c61f955@googlegroups.com> <roy-E16D26.09515805052013@news.panix.com> <c7c26e78-b786-4205-9ffa-5eb29006479c@googlegroups.com> <roy-AB6F78.10164805052013@news.panix.com>
Date 2013-05-06 01:00 +1000
Subject Re: Python not starting
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1292.1367766068.3114.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, May 6, 2013 at 12:16 AM, Roy Smith <roy@panix.com> wrote:
> 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.

Or alternatively, disable site.py by invoking python -S, and then
manually import stat and see what its file is.

ChrisA

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