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: 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: References: <9ace60b8-a07d-41bc-ac9f-507f6c61f955@googlegroups.com> Date: Mon, 6 May 2013 01:00:59 +1000 Subject: Re: Python not starting From: Chris Angelico 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Mon, May 6, 2013 at 12:16 AM, Roy Smith wrote: > In article , > DRJ Reddy 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