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


Groups > comp.lang.python > #44744

Re: Python not starting

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:not': 0.03; 'subject:Python': 0.06; 'windows,': 0.09; 'python': 0.11; 'assume': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'invoking': 0.16; 'roy': 0.16; 'unix,': 0.16; 'wrote:': 0.18; 'library': 0.18; 'command': 0.22; 'import': 0.22; 'error': 0.23; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'disable': 0.31; 'file': 0.32; 'guess': 0.33; "can't": 0.35; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'similar': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'called': 0.40; 'even': 0.60; 'is.': 0.60; 'manually': 0.60; 'prompt': 0.68; 'smith': 0.68; 'article': 0.77; 'find.': 0.84; 'stat': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Rql8ZYtcex4aPpdSuyrArbHJNkE61ffBLSYbhNpczqY=; b=YUj5Lz36hF4aSbj/W42L7uWOywl/RaUsZU4j3a+KVQ5b7paqwfjuagjGUYXnHxPWGP N8VWL+i62uQVxPmxCpewNrswm59in/LG/Mi2y9T598WhDUc1LgoyfFOKPBwTEMdoeZA8 CPDI7gcd10vAlkKJxu3jjo2w7U4Re4GekC3wwc7R5mSv4OdFMYXX+j97xtYhkbL9jTWY OjbX6Y4BmbArKgmFL4+VrueC2whJ+9GfL/hKhr0nIspmSqm/bN8BKRH4gIY0rq3Kn89C pFRDxzz6W5mqVYxDsQXF6sgDi4Y9e5dLac4e+dJB6XtBqkRZSFqlLSkYOx+U9hZB+g0T B0Kw==
MIME-Version 1.0
X-Received by 10.52.231.231 with SMTP id tj7mr4953087vdc.111.1367766060031; Sun, 05 May 2013 08:01:00 -0700 (PDT)
In-Reply-To <roy-AB6F78.10164805052013@news.panix.com>
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 Mon, 6 May 2013 01:00:59 +1000
Subject Re: Python not starting
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1292.1367766068.3114.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367766068 news.xs4all.nl 15915 [2001:888:2000:d::a6]:42460
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44744

Show key headers only | 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