Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to run pip in Windows 10

78 views
Skip to first unread message

Michael Cuddehe

unread,
Oct 10, 2017, 6:03:26 PM10/10/17
to
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."

Paul Moore

unread,
Oct 11, 2017, 4:17:54 AM10/11/17
to
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

Thomas Jollans

unread,
Oct 11, 2017, 4:30:26 AM10/11/17
to
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

Michael Cuddehe

unread,
Oct 11, 2017, 10:49:36 AM10/11/17
to
- 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...."
--
https://mail.python.org/mailman/listinfo/python-list


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

Paul Moore

unread,
Oct 11, 2017, 11:10:58 AM10/11/17
to
On 11 October 2017 at 15:46, Michael Cuddehe <mcud...@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

Paul Moore

unread,
Oct 11, 2017, 11:50:30 AM10/11/17
to
"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 <mcud...@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....@gmail.com]
> Sent: Wednesday, October 11, 2017 10:10 AM
> To: Michael Cuddehe
> Cc: Thomas Jollans; pytho...@python.org
> Subject: Re: Unable to run pip in Windows 10
>

Michael Torrie

unread,
Oct 11, 2017, 11:55:05 AM10/11/17
to
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?

Terry Reedy

unread,
Oct 11, 2017, 1:57:30 PM10/11/17
to
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

Terry Reedy

unread,
Oct 11, 2017, 2:05:52 PM10/11/17
to
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 <package name>

or to specifically ensure that you run 3.5,

...> py -3.5 -m pip install <package name>

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

Michael Cuddehe

unread,
Oct 13, 2017, 11:52:18 AM10/13/17
to
Thank you!!!
What finally worked.....> py -m pip install pyperclip


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

0 new messages