RE: Unable to run pip in Windows 10

2017-10-13 Thread Michael Cuddehe
Thank you!!!
What finally worked.> py -m pip install pyperclip


-Original Message-
From: Terry Reedy [mailto:tjre...@udel.edu] 
Sent: Wednesday, October 11, 2017 1:00 PM
To: python-list@python.org
Subject: Re: Unable to run pip in Windows 10

On 10/11/2017 10:46 AM, Michael Cuddehe wrote:
> - What exactly did you install?
>>> Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC
> v.1900 64 bit (AMD64)] on win32
>>> Downloaded from python.org.
>   - Can you start the Python interpreter?
>>> Yes...works fine.
> * How exactly did you go about this
>>> ??
>   - How exactly do you try to run pip?
>>> Command prompt: c:\Users\FFC>pip import (module)

Try running instead

...> python -m pip install 

or to specifically ensure that you run 3.5,

...> py -3.5 -m pip install 

and if that fails, copy the entire response.

>   - What exactly happens when you try?
>>> Windows error message: "This app can't run on your PC"

-- 
Terry Jan Reedy



-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to run pip in Windows 10

2017-10-11 Thread Terry Reedy

On 10/11/2017 10:46 AM, Michael Cuddehe wrote:

- What exactly did you install?

Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC

v.1900 64 bit (AMD64)] on win32

Downloaded from python.org.

  - Can you start the Python interpreter?

Yes...works fine.

* How exactly did you go about this

??

  - How exactly do you try to run pip?

Command prompt: c:\Users\FFC>pip import (module)


Try running instead

...> python -m pip install 

or to specifically ensure that you run 3.5,

...> py -3.5 -m pip install 

and if that fails, copy the entire response.


  - What exactly happens when you try?

Windows error message: "This app can't run on your PC"


--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to run pip in Windows 10

2017-10-11 Thread Terry Reedy

On 10/11/2017 11:54 AM, Michael Torrie wrote:

On 10/11/2017 08:46 AM, Michael Cuddehe wrote:

- What exactly did you install?

Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC

v.1900 64 bit (AMD64)] on win32

  ^^^


This is exactly what I see from 64 bit python installed on 64 bit 
Windows.  'win32' refers to the Windows platform, versus linux, unix, 
darwin, etc.  Yes, it is confusing.



So your OS is 32 bit?


The next line says that this binary runs fine.  So 'No'.  The problem is 
specific to trying to run pip.



This v.1900 was downloaded from python.org?


MSC v.1900 is the latest Microsoft C compiler, which was used to compile 
the binary.  It is not downloaded.


--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to run pip in Windows 10

2017-10-11 Thread Michael Torrie
On 10/11/2017 08:46 AM, Michael Cuddehe wrote:
> - What exactly did you install?
>>> Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC
> v.1900 64 bit (AMD64)] on win32
 ^^^
So your OS is 32 bit? If so, you can't run 64-bit software on it.

This v.1900 was downloaded from python.org? Or is it from a different
web site?

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to run pip in Windows 10

2017-10-11 Thread Paul Moore
"Access is denied" sounds like you've installed Python for all users
(i.e. in C:\Program Files) and you're not using an elevated prompt to
run pip. If you have Python in C:\Program Files, you either need to
install modules in your user environment (via pip install --user)
which means they'll only be visible to you, or you need to be running
as a system administrator to install them for anyone (which means
running pip from a command prompt that was opened via "run as
administrator")

Paul

On 11 October 2017 at 16:43, Michael Cuddehe <mcudd...@strategicga.com> wrote:
> Running 64 bit Windows 10.
> Re-installed Python 3.6.3 - Download Windows x86-64 web-based installer. Same 
> problem.
> Screen capture attached.
>
>
> -Original Message-
> From: Paul Moore [mailto:p.f.mo...@gmail.com]
> Sent: Wednesday, October 11, 2017 10:10 AM
> To: Michael Cuddehe
> Cc: Thomas Jollans; python-list@python.org
> Subject: Re: Unable to run pip in Windows 10
>
> On 11 October 2017 at 15:46, Michael Cuddehe <mcudd...@strategicga.com> wrote:
>> - What exactly did you install?
>>>> Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05)
>>>> [MSC
>> v.1900 64 bit (AMD64)] on win32
>>>> Downloaded from python.org.
>>  - Can you start the Python interpreter?
>>>> Yes...works fine.
>>* How exactly did you go about this
>>>> ??
>>  - How exactly do you try to run pip?
>>>> Command prompt: c:\Users\FFC>pip import (module)
>>>>
>>  - What exactly happens when you try?
>>>> Windows error message: "This app can't run on your PC"
>
> There's no "pip import" command - I guess you meant "pip install"?
>
> Rather than transcribing what you did, can you include a copy and paste of 
> the actual text in your command window?
>
> I also googled for the message you quoted, and I see that it's a Windows 
> message (not one from pip or Python). The most obvious suggestion from that 
> was "you're running a 64-bit application on a 32-bit Windows". I note from 
> the above:
>
>>  Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05)
>> [MSC
>> v.1900 64 bit (AMD64)]
>
> Are you running 32-bit Windows? If so, you got the wrong version of Python 
> (you need the 32-bit version).
> Paul
>
>
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to run pip in Windows 10

2017-10-11 Thread Paul Moore
On 11 October 2017 at 15:46, Michael Cuddehe  wrote:
> - What exactly did you install?
>>> Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC
> v.1900 64 bit (AMD64)] on win32
>>> Downloaded from python.org.
>  - Can you start the Python interpreter?
>>> Yes...works fine.
>* How exactly did you go about this
>>> ??
>  - How exactly do you try to run pip?
>>> Command prompt: c:\Users\FFC>pip import (module)
>>>
>  - What exactly happens when you try?
>>> Windows error message: "This app can't run on your PC"

There's no "pip import" command - I guess you meant "pip install"?

Rather than transcribing what you did, can you include a copy and
paste of the actual text in your command window?

I also googled for the message you quoted, and I see that it's a
Windows message (not one from pip or Python). The most obvious
suggestion from that was "you're running a 64-bit application on a
32-bit Windows". I note from the above:

>  Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC
> v.1900 64 bit (AMD64)]

Are you running 32-bit Windows? If so, you got the wrong version of
Python (you need the 32-bit version).
Paul
-- 
https://mail.python.org/mailman/listinfo/python-list


RE: Unable to run pip in Windows 10

2017-10-11 Thread Michael Cuddehe
- What exactly did you install?
>> Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC
v.1900 64 bit (AMD64)] on win32
>> Downloaded from python.org.
 - Can you start the Python interpreter?  
>> Yes...works fine.
   * How exactly did you go about this
>> ??
 - How exactly do you try to run pip?
>> Command prompt: c:\Users\FFC>pip import (module) 
>> 
 - What exactly happens when you try?
>> Windows error message: "This app can't run on your PC"

 

-Original Message-
From: Python-list
[mailto:python-list-bounces+mcuddehe=strategicga@python.org] On Behalf
Of Thomas Jollans
Sent: Wednesday, October 11, 2017 3:30 AM
To: python-list@python.org
Subject: Re: Unable to run pip in Windows 10

On 2017-10-10 22:37, Michael Cuddehe wrote:
> I have tried multiple versions, 32 & 64 bit. Same problem.
> 
> "This app can't run on your PC. To find a version for your PC, check 
> with the software publisher."
> 

You're going to have to give us some more information for anybody to be able
to really help you here. We just don't know what's going on.

 - What exactly did you install?
 - Can you start the Python interpreter?
   * How exactly did you go about this
 - How exactly do you try to run pip?
 - What exactly happens when you try?

You quoted an error message, and that's great. What's missing is really any
information on how you GOT this error message.


--
Thomas Jollans
--
https://mail.python.org/mailman/listinfo/python-list


---
This email has been checked for viruses by AVG.
http://www.avg.com

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to run pip in Windows 10

2017-10-11 Thread Thomas Jollans
On 2017-10-10 22:37, Michael Cuddehe wrote:
> I have tried multiple versions, 32 & 64 bit. Same problem.
> 
> "This app can't run on your PC. To find a version for your PC, check with
> the software publisher."
> 

You're going to have to give us some more information for anybody to be
able to really help you here. We just don't know what's going on.

 - What exactly did you install?
 - Can you start the Python interpreter?
   * How exactly did you go about this
 - How exactly do you try to run pip?
 - What exactly happens when you try?

You quoted an error message, and that's great. What's missing is really
any information on how you GOT this error message.


-- 
Thomas Jollans
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to run pip in Windows 10

2017-10-11 Thread Paul Moore
On 10 October 2017 at 21:37, Michael Cuddehe  wrote:
> I have tried multiple versions, 32 & 64 bit. Same problem.
>
> "This app can't run on your PC. To find a version for your PC, check with
> the software publisher."

It's difficult to know what to say - it runs fine for me (Windows 10,
Python 3.6, 64-bit, downloaded from python.org).

Maybe check that the file you downloaded is complete, by confirming
the size/checksum matches? Do you have any antivirus software that
could be interfering?

Paul
-- 
https://mail.python.org/mailman/listinfo/python-list


Unable to run pip in Windows 10

2017-10-10 Thread Michael Cuddehe
I have tried multiple versions, 32 & 64 bit. Same problem.

"This app can't run on your PC. To find a version for your PC, check with
the software publisher."

-- 
https://mail.python.org/mailman/listinfo/python-list