Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'debug': 0.04; 'url:bitbucket': 0.05; 'cc:addr:python-list': 0.09; 'scripts': 0.09; '[1]:': 0.09; 'worked,': 0.09; 'subject:Help': 0.10; 'python': 0.10; 'django': 0.13; '.py': 0.16; 'build.': 0.16; 'input.': 0.16; 'still,': 0.16; 'succeeds,': 0.16; 'thanx': 0.16; 'wrote:': 0.16; "shouldn't": 0.18; 'shell': 0.18; 'steve': 0.18; 'windows': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '(see': 0.20; 'info.': 0.22; 'sep': 0.22; 'simpler': 0.22; 'cc:no real name:2**0': 0.22; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'script': 0.25; "doesn't": 0.26; 'command': 0.26; 'sense': 0.26; 'connected': 0.27; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'said,': 0.27; 'fine': 0.28; 'admin': 0.29; 'creating': 0.30; 'code': 0.30; 'checked': 0.31; 'guess': 0.31; 'everyone': 0.31; 'run': 0.33; 'source': 0.33; 'surprised': 0.33; 'running': 0.34; 'server': 0.34; 'gets': 0.35; 'received:google.com': 0.35; 'could': 0.35; 'configured': 0.35; 'fail': 0.35; 'something': 0.35; 'but': 0.36; 'instead': 0.36; 'there': 0.36; 'url:org': 0.36; 'child': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'beyond': 0.37; "won't": 0.38; 'version': 0.38; 'build': 0.40; 'care': 0.60; 'subject:Need': 0.61; 'matter': 0.63; 'subject:. ': 0.67; 'upgrading': 0.72; 'clicking': 0.75; 'prompt': 0.79; 'confusing': 0.84; 'lacks': 0.84; 'succeed.': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=VTrNuFTMXEWrjDQ4JyZlIPL1bANGoRnOMBxguYQH+AA=; b=s0iSWcPZvy+y1qSmgf39Sx2jn/LcyTIAI84KLjxOl6wttBHHO+oXC7g/T+J+/IlC6L OJSY4mKutzmcnhbvGN7r1OFGMER8gmwjUycFhE7n9OKBc1CwdEO73PlKzqzZxGaoXZdX L42rR8mxzr16JFTjsSU/2AY4bJBhNN5sRYCbtBnfw4XeO5IC+jE9zUTMD/LZ+sip8+0Z udA4/rF95asOC4OVIhcPpC78Mfu1mJQhyMWR8q0z51UnHsM0AXLddY1ZhO5j+NlplyJl e/YZZ2tG7yB+y7ZxD67dgT2PMSez2aO9tVxqmAUDv2kuk+WrDXryTkjNHuqAA9cca6Rn jZuA== X-Received: by 10.129.130.6 with SMTP id s6mr5334ywf.155.1441434663400; Fri, 04 Sep 2015 23:31:03 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <6c8eba79-682e-4f78-a867-0da285ba754b@googlegroups.com> References: <56f811b9-aa5c-45c2-9daf-888a4b239f2f@googlegroups.com> <55EA38D9.6000303@medimorphosis.com.au> <55EA3D92.5090702@mrabarnett.plus.com> <6c8eba79-682e-4f78-a867-0da285ba754b@googlegroups.com> From: eryksun Date: Sat, 5 Sep 2015 01:30:23 -0500 Subject: Re: Need Help w. PIP! To: Steve Burrus Cc: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441434672 news.xs4all.nl 23746 [2001:888:2000:d::a6]:58390 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96046 On Fri, Sep 4, 2015 at 10:07 PM, Steve Burrus wrote: > well everyone there must be sometjhing about upgrading Python up to version 3.5 rc > because everything works just fine now, beyond my wildest dreams! I am even able > now to type in "pip" and get the usual info. on it and I have connected to the Django > server and configured the admin so thanx for eveyone who tried to help me. I just tested running pip.exe on a VM with Windows 10, build 10074. It surprised me that it worked, so I checked the source code of Vinay's [simple launcher][1]. Apparently the simpler launcher merely asserts that creating the job object succeeds, so it will only fail in a debug build. (See run_child in launcher.c). Depending on the nature of the script it could be confusing if there's no job object and the launcher gets killed. This leaves python.exe and the shell competing for console input. That said, it shouldn't really matter for a simple program such as pip. But the full py.exe launcher used by Python always fails if creating the job object doesn't succeed. (Oddly, it doesn't fail if *assigning* the child to the job fails; I guess because Windows 7 lacks support for job hierarchies, but still, it makes no sense to care about creating something that you don't care about using.) So for build 10074 of Windows 10, ensure the filetypes for .py and .pyw scripts (installed as Python.File and Python.NoConFile) run python.exe and pythonw.exe instead of py.exe and pyw.exe. Otherwise you won't be able to run scripts directly at the command prompt or by double clicking them in Explorer. [1]: https://bitbucket.org/vinay.sajip/simple_launcher/src