Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'sys': 0.05; "'',": 0.07; '-*-': 0.07; '__name__': 0.07; 'utf-8': 0.07; 'cc:addr:python- list': 0.09; 'scripts': 0.09; 'coding:': 0.09; 'sys.argv[0]': 0.09; 'subject:Help': 0.10; 'skip:p 40': 0.15; "'__main__':": 0.16; 'command:': 0.16; 'wrappers': 0.16; 'wrote:': 0.16; 'script.': 0.18; 'steve': 0.18; 'versions': 0.20; 'windows': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'object.': 0.22; 'sep': 0.22; 'cc:no real name:2**0': 0.22; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'script': 0.25; "doesn't": 0.26; 'command': 0.26; 'installed': 0.26; 'fri,': 0.27; 'skip:# 10': 0.27; 'message-id:@mail.gmail.com': 0.27; 'system,': 0.30; 'embedded': 0.32; 'getting': 0.33; 'run': 0.33; 'hopefully': 0.33; 'received:google.com': 0.35; 'so,': 0.35; 'skip:p 30': 0.35; 'but': 0.36; 'instead': 0.36; 'assigned': 0.36; 'child': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'associated': 0.38; "won't": 0.38; 'build': 0.40; 'still': 0.40; 'your': 0.60; "you'll": 0.61; 'subject:Need': 0.61; 'soon': 0.65; 'subject:. ': 0.67; 'prompt': 0.79; 'elevated': 0.84; 'pip': 0.84 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=MLpOxCUiHVXzL0GIkJK66xnSArzOfW01Q4nHW8spg3E=; b=ADzAfLrKXcq2BWp1urMK5WxmZSOtI0Ym5DASDEPEFt3GPpqqmGnluHRuqQzJQtmKBL heZL9ssMmHDkp2JC7yrk87PUkx2KYDNmO8j8Z4QMz9nOkdR0qTSbPuQPnp5AnnrZSi7S mDtiE3VEhnIL1TZ+7asIA2wviYgfyssWryNSpWY14uXf2zW4qLRTj7Qs8zFhJJzkgWmM +4/3Jw6aUdk6/M6q5/u1nd0DzJx1R1dI7wrSIRms+zxzIRdV6EhbvwRsfvEYRJhgpH7+ ifyk+K8SsPOIS+5juw2Qa9LBoBdNjFFXyLKDCDQoHhwyl6DDDlGW/0GGVIJ71ZZdgF3J So2g== X-Received: by 10.129.84.132 with SMTP id i126mr7254567ywb.96.1441406933636; Fri, 04 Sep 2015 15:48:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <3b82cc84-d51b-4b62-bf84-47a06c585bc3@googlegroups.com> <7c793e45-3a4c-4b37-8111-ed16382e1551@googlegroups.com> From: eryksun Date: Fri, 4 Sep 2015 17:48:14 -0500 Subject: Re: Need Help w. PIP! To: Steve Burrus Cc: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Sat, 05 Sep 2015 08:04:25 +0200 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: 1441433067 news.xs4all.nl 23738 [2001:888:2000:d::a6]:46628 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96044 On Fri, Sep 4, 2015 at 5:10 PM, Steve Burrus wrote: > so what is my hopefully sinple solution anyway? i do n't see myself anytime > soon getting off of Build 10074 of Win 10. Script wrappers such as pip.exe are simple versions of the py launcher that execute an embedded script. For example, here's the script embedded in pip.exe on my system: #!"C:\Program Files\Python34\python.exe" # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main()) So, as with py.exe, the child python.exe process has to be assigned to a job object. That won't work as long as you're using build 10074 of Windows 10. But you can still run pip using `python -m pip`. Also, since the py launcher doesn't work on your system, you'll have to ensure that scripts are associated with python.exe / pythonw.exe instead of py.exe / pyw.exe. If you installed for all users you can do that in an elevated command prompt (cmd.exe) using the ftype command: ftype Python.File="C:\Python34\python.exe" "%1" %* ftype Python.NoConFile="C:\Python34\pythonw.exe" "%1" %*