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


Groups > comp.lang.python > #95975 > unrolled thread

Need Help w. PIP!

Started bySteve Burrus <steveburrus28@gmail.com>
First post2015-09-03 15:20 -0700
Last post2015-09-09 04:16 -0400
Articles 20 on this page of 34 — 13 participants

Back to article view | Back to comp.lang.python


Contents

  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

Page 1 of 2  [1] 2  Next page →


#95975 — Need Help w. PIP!

FromSteve Burrus <steveburrus28@gmail.com>
Date2015-09-03 15:20 -0700
SubjectNeed Help w. PIP!
Message-ID<f0876c48-010e-4bf0-b687-dceefba97637@googlegroups.com>
Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having the most extreme problems with simply typing "pip" into my command prompt and then getting back the normal information on pip! I have repeatedly downloaded [to my Desktop] that get-pip.py file then  ran it. I even downloaded that easy-install.py and ran that but to no success! I have all of the proper env. variables set. Can someone please help me?

   

[toc] | [next] | [standalone]


#95982

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-09-04 01:05 +0100
Message-ID<mailman.106.1441325161.8327.python-list@python.org>
In reply to#95975
On 03/09/2015 23:20, Steve Burrus wrote:
> Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having the most extreme problems with simply typing "pip" into my command prompt and then getting back the normal information on pip! I have repeatedly downloaded [to my Desktop] that get-pip.py file then  ran it. I even downloaded that easy-install.py and ran that but to no success! I have all of the proper env. variables set. Can someone please help me?

As always my main and spare crystal balls are at the menders due to 
overwork, so I'll have to ask, what happened when you tried the 'pip', 
'get-pip.py' and 'easy-install.py' commands?  What OS are you on?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#95985

FromSteve Burrus <steveburrus28@gmail.com>
Date2015-09-03 18:04 -0700
Message-ID<3b82cc84-d51b-4b62-bf84-47a06c585bc3@googlegroups.com>
In reply to#95982
On Thursday, September 3, 2015 at 7:06:27 PM UTC-5, Mark Lawrence wrote:
> On 03/09/2015 23:20, Steve Burrus wrote:
> > Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having the most extreme problems with simply typing "pip" into my command prompt and then getting back the normal information on pip! I have repeatedly downloaded [to my Desktop] that get-pip.py file then  ran it. I even downloaded that easy-install.py and ran that but to no success! I have all of the proper env. variables set. Can someone please help me?
> 
> As always my main and spare crystal balls are at the menders due to 
> overwork, so I'll have to ask, what happened when you tried the 'pip', 
> 'get-pip.py' and 'easy-install.py' commands?  What OS are you on?
> 
> -- 
> My fellow Pythonistas, ask not what our language can do for you, ask
> what you can do for our language.
> 
> Mark Lawrence

I have tried the 'python get-pip.py' command over amnd over again in my command prompt and the 'python easy-install.py" command a little less. I swear I have set ALL of the env. variables correctly! My OS is Windows 10 Beta Preview Build 10074. 

[toc] | [prev] | [next] | [standalone]


#95986

FromMRAB <python@mrabarnett.plus.com>
Date2015-09-04 02:44 +0100
Message-ID<mailman.109.1441331069.8327.python-list@python.org>
In reply to#95985
On 2015-09-04 02:04, Steve Burrus wrote:
> On Thursday, September 3, 2015 at 7:06:27 PM UTC-5, Mark Lawrence wrote:
>> On 03/09/2015 23:20, Steve Burrus wrote:
>> > Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having the most extreme problems with simply typing "pip" into my command prompt and then getting back the normal information on pip! I have repeatedly downloaded [to my Desktop] that get-pip.py file then  ran it. I even downloaded that easy-install.py and ran that but to no success! I have all of the proper env. variables set. Can someone please help me?
>>
>> As always my main and spare crystal balls are at the menders due to
>> overwork, so I'll have to ask, what happened when you tried the 'pip',
>> 'get-pip.py' and 'easy-install.py' commands?  What OS are you on?
>>
>> --
>> My fellow Pythonistas, ask not what our language can do for you, ask
>> what you can do for our language.
>>
>> Mark Lawrence
>
> I have tried the 'python get-pip.py' command over amnd over again in my command prompt and the 'python easy-install.py" command a little less. I swear I have set ALL of the env. variables correctly! My OS is Windows 10 Beta Preview Build 10074.
>
If you have Python 3.4, then you already have pip. It's in the
"Scripts" subfolder of the Python 3.4 folder.

[toc] | [prev] | [next] | [standalone]


#95987

FromChris Angelico <rosuav@gmail.com>
Date2015-09-04 11:55 +1000
Message-ID<mailman.110.1441331741.8327.python-list@python.org>
In reply to#95985
On Fri, Sep 4, 2015 at 11:04 AM, Steve Burrus <steveburrus28@gmail.com> wrote:
> I have tried the 'python get-pip.py' command over amnd over again in my command prompt and the 'python easy-install.py" command a little less. I swear I have set ALL of the env. variables correctly! My OS is Windows 10 Beta Preview Build 10074.
>

What happens if you type "python -m pip" ? Or "python3 -m pip"? Does
that invoke pip?

ChrisA

[toc] | [prev] | [next] | [standalone]


#95999

FromSteve Burrus <steveburrus28@gmail.com>
Date2015-09-03 20:07 -0700
Message-ID<c45d6c6f-46cc-48e3-bc49-75064952b0e7@googlegroups.com>
In reply to#95987
On Thursday, September 3, 2015 at 8:55:52 PM UTC-5, Chris Angelico wrote:
> On Fri, Sep 4, 2015 at 11:04 AM, Steve Burrus <steveburrus28@gmail.com> wrote:
> > I have tried the 'python get-pip.py' command over amnd over again in my command prompt and the 'python easy-install.py" command a little less. I swear I have set ALL of the env. variables correctly! My OS is Windows 10 Beta Preview Build 10074.
> >
> 
> What happens if you type "python -m pip" ? Or "python3 -m pip"? Does
> that invoke pip?
> 
> ChrisA

Well chris when I typed in"python -m pip" it worked but nopt with "python3
- m pip"! Why do you think that is?

[toc] | [prev] | [next] | [standalone]


#96002

FromChris Angelico <rosuav@gmail.com>
Date2015-09-04 13:16 +1000
Message-ID<mailman.121.1441336570.8327.python-list@python.org>
In reply to#95999
On Fri, Sep 4, 2015 at 1:07 PM, Steve Burrus <steveburrus28@gmail.com> wrote:
> On Thursday, September 3, 2015 at 8:55:52 PM UTC-5, Chris Angelico wrote:
>> On Fri, Sep 4, 2015 at 11:04 AM, Steve Burrus <steveburrus28@gmail.com> wrote:
>> > I have tried the 'python get-pip.py' command over amnd over again in my command prompt and the 'python easy-install.py" command a little less. I swear I have set ALL of the env. variables correctly! My OS is Windows 10 Beta Preview Build 10074.
>> >
>>
>> What happens if you type "python -m pip" ? Or "python3 -m pip"? Does
>> that invoke pip?
>>
>> ChrisA
>
> Well chris when I typed in"python -m pip" it worked but nopt with "python3
> - m pip"! Why do you think that is?

As Mark says, you're forcing us to use our crystal balls here. Just
whether or not something "worked" is not sufficient; what happened? In
XKCD 722 terms, what is the pattern of lights, and what are you
expecting it to be?

If I had to guess, I would suspect a problem with pathing in your
Python 3 installation.

ChrisA

[toc] | [prev] | [next] | [standalone]


#95998

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-09-04 04:04 +0100
Message-ID<mailman.118.1441335883.8327.python-list@python.org>
In reply to#95985
On 04/09/2015 02:55, Chris Angelico wrote:
> On Fri, Sep 4, 2015 at 11:04 AM, Steve Burrus <steveburrus28@gmail.com> wrote:
>> I have tried the 'python get-pip.py' command over amnd over again in my command prompt and the 'python easy-install.py" command a little less. I swear I have set ALL of the env. variables correctly! My OS is Windows 10 Beta Preview Build 10074.
>>
>
> What happens if you type "python -m pip" ? Or "python3 -m pip"? Does
> that invoke pip?
>
> ChrisA
>

"python3 xyz" won't go on Windows.  There are now three pip executables 
in the "Scripts" subfolder under the Python3.4 installation, pip.exe, 
pip3.exe and pip3.4.exe.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#96000

FromChris Angelico <rosuav@gmail.com>
Date2015-09-04 13:08 +1000
Message-ID<mailman.119.1441336119.8327.python-list@python.org>
In reply to#95985
On Fri, Sep 4, 2015 at 1:04 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> On 04/09/2015 02:55, Chris Angelico wrote:
>>
>> On Fri, Sep 4, 2015 at 11:04 AM, Steve Burrus <steveburrus28@gmail.com>
>> wrote:
>>>
>>> I have tried the 'python get-pip.py' command over amnd over again in my
>>> command prompt and the 'python easy-install.py" command a little less. I
>>> swear I have set ALL of the env. variables correctly! My OS is Windows 10
>>> Beta Preview Build 10074.
>>>
>>
>> What happens if you type "python -m pip" ? Or "python3 -m pip"? Does
>> that invoke pip?
>>
>> ChrisA
>>
>
> "python3 xyz" won't go on Windows.  There are now three pip executables in
> the "Scripts" subfolder under the Python3.4 installation, pip.exe, pip3.exe
> and pip3.4.exe.

Not sure what you mean by "won't go", but I was just curious about
whether there was some pathing issue that meant that the Scripts
subfolder wasn't accessible, yet the main Python binary might have
been.

ChrisA

[toc] | [prev] | [next] | [standalone]


#96001

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-09-04 04:11 +0100
Message-ID<mailman.120.1441336314.8327.python-list@python.org>
In reply to#95985
On 04/09/2015 02:04, Steve Burrus wrote:
> On Thursday, September 3, 2015 at 7:06:27 PM UTC-5, Mark Lawrence wrote:
>> On 03/09/2015 23:20, Steve Burrus wrote:
>>> Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having the most extreme problems with simply typing "pip" into my command prompt and then getting back the normal information on pip! I have repeatedly downloaded [to my Desktop] that get-pip.py file then  ran it. I even downloaded that easy-install.py and ran that but to no success! I have all of the proper env. variables set. Can someone please help me?
>>
>> As always my main and spare crystal balls are at the menders due to
>> overwork, so I'll have to ask, what happened when you tried the 'pip',
>> 'get-pip.py' and 'easy-install.py' commands?  What OS are you on?
>>
>> --
>> My fellow Pythonistas, ask not what our language can do for you, ask
>> what you can do for our language.
>>
>> Mark Lawrence
>
> I have tried the 'python get-pip.py' command over amnd over again in my command prompt and the 'python easy-install.py" command a little less. I swear I have set ALL of the env. variables correctly! My OS is Windows 10 Beta Preview Build 10074.
>

I'm awfully sorry, but my crystal balls still aren't back from the 
menders, so let's try again.  Precisely explain what happened when you 
tried the 'pip', 'get-pip.py' and 'easy-install.py' commands?  Could it 
have been nuclear holocaust, ice cream dripping down your shirt front, 
something like "pip isn't recognised as a Windows command", or whatever 
the wording actually is, or even a Python traceback, in which case 
please cut and paste it, in full, here?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#96026

FromSteve Burrus <steveburrus28@gmail.com>
Date2015-09-04 09:35 -0700
Message-ID<7c793e45-3a4c-4b37-8111-ed16382e1551@googlegroups.com>
In reply to#96001
On Thursday, September 3, 2015 at 10:12:23 PM UTC-5, Mark Lawrence wrote:
> On 04/09/2015 02:04, Steve Burrus wrote:
> > On Thursday, September 3, 2015 at 7:06:27 PM UTC-5, Mark Lawrence wrote:
> >> On 03/09/2015 23:20, Steve Burrus wrote:
> >>> Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having the most extreme problems with simply typing "pip" into my command prompt and then getting back the normal information on pip! I have repeatedly downloaded [to my Desktop] that get-pip.py file then  ran it. I even downloaded that easy-install.py and ran that but to no success! I have all of the proper env. variables set. Can someone please help me?
> >>
> >> As always my main and spare crystal balls are at the menders due to
> >> overwork, so I'll have to ask, what happened when you tried the 'pip',
> >> 'get-pip.py' and 'easy-install.py' commands?  What OS are you on?
> >>
> >> --
> >> My fellow Pythonistas, ask not what our language can do for you, ask
> >> what you can do for our language.
> >>
> >> Mark Lawrence
> >
> > I have tried the 'python get-pip.py' command over amnd over again in my command prompt and the 'python easy-install.py" command a little less. I swear I have set ALL of the env. variables correctly! My OS is Windows 10 Beta Preview Build 10074.
> >
> 
> I'm awfully sorry, but my crystal balls still aren't back from the 
> menders, so let's try again.  Precisely explain what happened when you 
> tried the 'pip', 'get-pip.py' and 'easy-install.py' commands?  Could it 
> have been nuclear holocaust, ice cream dripping down your shirt front, 
> something like "pip isn't recognised as a Windows command", or whatever 
> the wording actually is, or even a Python traceback, in which case 
> please cut and paste it, in full, here?
> 
> -- 
> My fellow Pythonistas, ask not what our language can do for you, ask
> what you can do for our language.
> 
> Mark Lawrence

okay Mark her is what you haVE wanted of me :

"C:\Users\SteveB>py -m pip
Job information querying failed

C:\Users\SteveB>python -m pip

Usage:
  C:\Python34\python.exe -m pip <command> [options]

Commands:
  install                     Install packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  --isolated                  Run pip in an isolated mode, ignoring
                              environment variables and user configuration.
  -v, --verbose               Give more output. Option is additive, and can be
                              used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output.
  --log <path>                Path to a verbose appending log.
  --proxy <proxy>             Specify a proxy in the form
                              [user:passwd@]proxy.server:port.
  --retries <retries>         Maximum number of retries each connection should
                              attempt (default 5 times).
  --timeout <sec>             Set the socket timeout (default 15 seconds).
  --exists-action <action>    Default action when a path already exists:
                              (s)witch, (i)gnore, (w)ipe, (b)ackup.
  --trusted-host <hostname>   Mark this host as trusted, even though it does
                              not have valid or any HTTPS.
  --cert <path>               Path to alternate CA bundle.
  --client-cert <path>        Path to SSL client certificate, a single file
                              containing the private key and the certificate
                              in PEM format.
  --cache-dir <dir>           Store the cache data in <dir>.
  --no-cache-dir              Disable the cache.
  --disable-pip-version-check
                              Don't periodically check PyPI to determine
                              whether a new version of pip is available for
                              download. Implied with --no-index."

so why is it that the "python -m pip" command works but not the "py -m pip" command? And someone said I have a "pathing" problem [with my pip installation] can you please help me with that? 

[toc] | [prev] | [next] | [standalone]


#96032

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-09-04 21:55 +0100
Message-ID<mailman.149.1441400123.8327.python-list@python.org>
In reply to#96026
On 04/09/2015 17:44, Nick Sarbicki wrote:
> In the cmd "echo %path%" and send us the output.
>
> Also try to run "pip" as opposed to "python -m pip".
>
> Nick.
>

Will you please stop top posting, it's driving me nuts, thank you.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#96044

Fromeryksun <eryksun@gmail.com>
Date2015-09-04 17:48 -0500
Message-ID<mailman.159.1441433067.8327.python-list@python.org>
In reply to#96026
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" %*

[toc] | [prev] | [next] | [standalone]


#96045

Fromeryksun <eryksun@gmail.com>
Date2015-09-04 16:50 -0500
Message-ID<mailman.158.1441433067.8327.python-list@python.org>
In reply to#96026
On Fri, Sep 4, 2015 at 11:35 AM, Steve Burrus <steveburrus28@gmail.com> wrote:
>
> "C:\Users\SteveB>py -m pip
> Job information querying failed

You're using build 10074, an old build of Windows 10 that had a buggy
Job object API. This was fixed in build 10159:

http://bugs.python.org/issue24127

FYI, the py launcher runs Python in a job that's configured to kill
Python if the the launcher gets killed. This is necessary if py.exe is
started by a console shell such as cmd.exe or powershell.exe. The
shell waits on py.exe, not python.exe. If the job didn't kill
python.exe, then Python would compete with the shell for console
input.

[toc] | [prev] | [next] | [standalone]


#96004

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-09-04 04:27 +0100
Message-ID<mailman.123.1441337281.8327.python-list@python.org>
In reply to#95985
On 04/09/2015 04:08, Chris Angelico wrote:
> On Fri, Sep 4, 2015 at 1:04 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
>> On 04/09/2015 02:55, Chris Angelico wrote:
>>>
>>> On Fri, Sep 4, 2015 at 11:04 AM, Steve Burrus <steveburrus28@gmail.com>
>>> wrote:
>>>>
>>>> I have tried the 'python get-pip.py' command over amnd over again in my
>>>> command prompt and the 'python easy-install.py" command a little less. I
>>>> swear I have set ALL of the env. variables correctly! My OS is Windows 10
>>>> Beta Preview Build 10074.
>>>>
>>>
>>> What happens if you type "python -m pip" ? Or "python3 -m pip"? Does
>>> that invoke pip?
>>>
>>> ChrisA
>>>
>>
>> "python3 xyz" won't go on Windows.  There are now three pip executables in
>> the "Scripts" subfolder under the Python3.4 installation, pip.exe, pip3.exe
>> and pip3.4.exe.
>
> Not sure what you mean by "won't go", but I was just curious about
> whether there was some pathing issue that meant that the Scripts
> subfolder wasn't accessible, yet the main Python binary might have
> been.
>
> ChrisA
>

python3 just doesn't exist on Windows, it's always python.exe or 
pythonw.exe.  Not that I'd recommend using them in this day and age, 
py.exe or pyw.exe and specify your version via the command line or a 
shebang line in your script is certainly my preferred way of doing things.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#96005

FromChris Angelico <rosuav@gmail.com>
Date2015-09-04 13:32 +1000
Message-ID<mailman.124.1441337573.8327.python-list@python.org>
In reply to#95985
On Fri, Sep 4, 2015 at 1:27 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> python3 just doesn't exist on Windows, it's always python.exe or
> pythonw.exe.  Not that I'd recommend using them in this day and age, py.exe
> or pyw.exe and specify your version via the command line or a shebang line
> in your script is certainly my preferred way of doing things.

Ohh. My bad. Sorry, Steve, I led you astray!

Silly Windows, making it hard for people to just guess and be right. :)

ChrisA

[toc] | [prev] | [next] | [standalone]


#96015

Fromwxjmfauth@gmail.com
Date2015-09-04 01:13 -0700
Message-ID<c1ebcf83-a4d5-4c37-9331-fb9ce4e5814c@googlegroups.com>
In reply to#96005
Le vendredi 4 septembre 2015 05:33:13 UTC+2, Chris Angelico a écrit :
> On Fri, Sep 4, 2015 at 1:27 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> > python3 just doesn't exist on Windows, it's always python.exe or
> > pythonw.exe.  Not that I'd recommend using them in this day and age, py.exe
> > or pyw.exe and specify your version via the command line or a shebang line
> > in your script is certainly my preferred way of doing things.
> 
> Ohh. My bad. Sorry, Steve, I led you astray!
> 
> Silly Windows, making it hard for people to just guess and be right. :)
> 
> ChrisA

Do not confuse Windows with the mess some people
have created. Steve Dower wrote very interesting
comments.

I have more than a dozen "TeX" distributions, each containing
several engines (pdf(La)TeX, Xe(La)TeX, ...) on my hd.
Zero problem. Just to point out, it's possible to do
a proper work.

[toc] | [prev] | [next] | [standalone]


#96021

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2015-09-04 09:14 -0400
Message-ID<mailman.137.1441372456.8327.python-list@python.org>
In reply to#95985
On Fri, 4 Sep 2015 04:27:47 +0100, Mark Lawrence <breamoreboy@yahoo.co.uk>
declaimed the following:


>python3 just doesn't exist on Windows, it's always python.exe or 

	Really?

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Wulfraed\Documents>python3
ActivePython 3.3.2.0 (ActiveState Software Inc.) based on
Python 3.3.2 (default, Sep 16 2013, 23:11:39) [MSC v.1600 64 bit (AMD64)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ^Z


C:\Users\Wulfraed\Documents>python
ActivePython 2.7.5.6 (ActiveState Software Inc.) based on
Python 2.7.5 (default, Sep 16 2013, 23:11:01) [MSC v.1500 64 bit (AMD64)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

C:\Python_x64\Python33>dir
 Volume in drive C is OS
 Volume Serial Number is 2004-C3FA

 Directory of C:\Python_x64\Python33

02/15/2014  01:36 PM    <DIR>          .
02/15/2014  01:36 PM    <DIR>          ..
02/15/2014  01:35 PM    <DIR>          DLLs
01/07/2015  09:26 PM    <DIR>          Doc
02/15/2014  01:35 PM    <DIR>          include
02/15/2014  01:36 PM    <DIR>          Lib
02/15/2014  01:36 PM    <DIR>          libs
09/17/2013  12:37 AM            40,448 python.exe
09/17/2013  12:37 AM            40,448 python3.3.exe
09/17/2013  12:37 AM            40,448 python3.exe
09/17/2013  12:37 AM            40,960 pythonw.exe
09/17/2013  12:37 AM            40,960 pythonw3.3.exe
09/17/2013  12:37 AM            40,960 pythonw3.exe
02/15/2014  01:36 PM    <DIR>          Scripts
02/15/2014  01:36 PM    <DIR>          tcl
02/15/2014  01:36 PM    <DIR>          Tools
               6 File(s)        244,224 bytes
              10 Dir(s)  1,492,212,412,416 bytes free

C:\Python_x64\Python33>

	I did not create those variant files, they were part of my original
install from ActiveState.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#96024

FromChris Warrick <kwpolska@gmail.com>
Date2015-09-04 16:30 +0200
Message-ID<mailman.139.1441377026.8327.python-list@python.org>
In reply to#95985
On 4 September 2015 at 15:14, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
> On Fri, 4 Sep 2015 04:27:47 +0100, Mark Lawrence <breamoreboy@yahoo.co.uk>
> declaimed the following:
>
>
>>python3 just doesn't exist on Windows, it's always python.exe or
>
>         Really?
>
> [snip]
> 09/17/2013  12:37 AM            40,448 python.exe
> 09/17/2013  12:37 AM            40,448 python3.3.exe
> 09/17/2013  12:37 AM            40,448 python3.exe
> 09/17/2013  12:37 AM            40,960 pythonw.exe
> 09/17/2013  12:37 AM            40,960 pythonw3.3.exe
> 09/17/2013  12:37 AM            40,960 pythonw3.exe
> [snip]
>
>         I did not create those variant files, they were part of my original
> install from ActiveState.

You are using an unofficial build of Python; the official one (from
python.org) does not have `python3.exe`.

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

[toc] | [prev] | [next] | [standalone]


#96010

From"ast" <nomail@invalid.com>
Date2015-09-04 08:16 +0200
Message-ID<55e9372e$0$3019$426a34cc@news.free.fr>
In reply to#95975
"Steve Burrus" <steveburrus28@gmail.com> a écrit dans le message de 
news:f0876c48-010e-4bf0-b687-dceefba97637@googlegroups.com...
Well I hjave certainly noted more than once that pip is cont ained in Python 3.4. But I am having 
the most extreme problems with simply typing "pip" into my command prompt and then getting back the 
normal information on pip! I have repeatedly downloaded [to my Desktop] that get-pip.py file then 
ran it. I even downloaded that easy-install.py and ran that but to no success! I have all of the 
proper env. variables set. Can someone please help me?


I am using python 3.4 on windows too and to run pip I just enter in a command window:

py -m pip

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.python


csiph-web