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


Groups > comp.lang.python > #96044

Re: Need Help w. PIP!

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 <eryksun@gmail.com>
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 <CABcoaSB=w+6QZqwGbJSvvxyY8Cukz3P2HfYBLtp9c0+FH2XXjA@mail.gmail.com>
References <f0876c48-010e-4bf0-b687-dceefba97637@googlegroups.com> <mailman.106.1441325161.8327.python-list@python.org> <3b82cc84-d51b-4b62-bf84-47a06c585bc3@googlegroups.com> <mailman.120.1441336314.8327.python-list@python.org> <7c793e45-3a4c-4b37-8111-ed16382e1551@googlegroups.com> <CACL+1at+Bhst=E_hRCfPbfF687B2EDkw+KN1yZTyyS9c=MQK7Q@mail.gmail.com> <CABcoaSB=w+6QZqwGbJSvvxyY8Cukz3P2HfYBLtp9c0+FH2XXjA@mail.gmail.com>
From eryksun <eryksun@gmail.com>
Date Fri, 4 Sep 2015 17:48:14 -0500
Subject Re: Need Help w. PIP!
To Steve Burrus <steveburrus28@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.159.1441433067.8327.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Fri, Sep 4, 2015 at 5:10 PM, Steve Burrus <steveburrus28@gmail.com> 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" %*

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need Help w. PIP! Steve Burrus <steveburrus28@gmail.com> - 2015-09-03 15:20 -0700
  Re: Need Help w. PIP! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-04 01:05 +0100
    Re: Need Help w. PIP! Steve Burrus <steveburrus28@gmail.com> - 2015-09-03 18:04 -0700
      Re: Need Help w. PIP! MRAB <python@mrabarnett.plus.com> - 2015-09-04 02:44 +0100
      Re: Need Help w. PIP! Chris Angelico <rosuav@gmail.com> - 2015-09-04 11:55 +1000
        Re: Need Help w. PIP! Steve Burrus <steveburrus28@gmail.com> - 2015-09-03 20:07 -0700
          Re: Need Help w. PIP! Chris Angelico <rosuav@gmail.com> - 2015-09-04 13:16 +1000
      Re: Need Help w. PIP! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-04 04:04 +0100
      Re: Need Help w. PIP! Chris Angelico <rosuav@gmail.com> - 2015-09-04 13:08 +1000
      Re: Need Help w. PIP! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-04 04:11 +0100
        Re: Need Help w. PIP! Steve Burrus <steveburrus28@gmail.com> - 2015-09-04 09:35 -0700
          Re: Need Help w. PIP! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-04 21:55 +0100
          Re: Need Help w. PIP! eryksun <eryksun@gmail.com> - 2015-09-04 17:48 -0500
          Re: Need Help w. PIP! eryksun <eryksun@gmail.com> - 2015-09-04 16:50 -0500
      Re: Need Help w. PIP! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-04 04:27 +0100
      Re: Need Help w. PIP! Chris Angelico <rosuav@gmail.com> - 2015-09-04 13:32 +1000
        Re: Need Help w. PIP! wxjmfauth@gmail.com - 2015-09-04 01:13 -0700
      Re: Need Help w. PIP! Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-04 09:14 -0400
      Re: Need Help w. PIP! Chris Warrick <kwpolska@gmail.com> - 2015-09-04 16:30 +0200
  Re: Need Help w. PIP! "ast" <nomail@invalid.com> - 2015-09-04 08:16 +0200
    Re: Need Help w. PIP! "ast" <nomail@invalid.com> - 2015-09-04 08:24 +0200
  Re: Need Help w. PIP! Steve Burrus <steveburrus28@gmail.com> - 2015-09-04 09:04 -0700
    Re: Need Help w. PIP! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-04 21:46 +0100
    Re: Need Help w. PIP! MRAB <python@mrabarnett.plus.com> - 2015-09-05 01:55 +0100
    Re: Need Help w. PIP! Rob Hills <rhills@medimorphosis.com.au> - 2015-09-05 10:19 +0800
      Re: Need Help w. PIP! Steve Burrus <steveburrus28@gmail.com> - 2015-09-04 20:07 -0700
        Re: Need Help w. PIP! eryksun <eryksun@gmail.com> - 2015-09-05 01:30 -0500
    Re: Need Help w. PIP! Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-05 10:14 +0200
      Re: Need Help w. PIP! Terry Reedy <tjreedy@udel.edu> - 2015-09-09 01:53 -0400
      Reply to author, reply to list, reply to all (was: Need Help w. PIP!) Ben Finney <ben+python@benfinney.id.au> - 2015-09-09 16:09 +1000
      Re: Reply to author, reply to list, reply to all Ben Finney <ben+python@benfinney.id.au> - 2015-09-09 17:20 +1000
      Re: Reply to author, reply to list, reply to all (was: Need Help w. PIP!) Chris Angelico <rosuav@gmail.com> - 2015-09-09 17:24 +1000
      Re: Reply to author, reply to list, reply to all Ben Finney <ben+python@benfinney.id.au> - 2015-09-09 17:38 +1000
      Re: Reply to author, reply to list, reply to all Terry Reedy <tjreedy@udel.edu> - 2015-09-09 04:16 -0400

csiph-web