Python Forum
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't get pip to work
#6
First, why did you install Python 32 bit when usually Windows 10 is 64 bit?
Secondly, go to 'File Manger' (right click on start button and select "File Manager".
In the search box in the upper right hand corner, type in "python.exe" (this will take a while), there should be two entries, python.exe and pythonw.exe in the same directory (ignore any directory with 'cache' in it).  This should be the location of your Python installation and should be included in your System Environmental varialble as well as the path to ~\Scripts directory
Next, ensure that pip is installed, luckily Python includes a module for that called, surprisingly, ensurepip
From the command line, type:
python -m ensurepip
if it is correctly installed you will see something similar to this:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\>python -m ensurepip
Requirement already satisfied: setuptools in c:\python36\lib\site-packages
Requirement already satisfied: pip in c:\python36\lib\site-packages
Requirement already satisfied: six>=1.6.0 in c:\python36\lib\site-packages (from setuptools)
Requirement already satisfied: appdirs>=1.4.0 in c:\python36\lib\site-packages (from setuptools)
Requirement already satisfied: packaging>=16.8 in c:\python36\lib\site-packages (from setuptools)
Requirement already satisfied: pyparsing in c:\python36\lib\site-packages (from packaging>=16.8->setuptools)

C:\>
if it is not installed, it will install it.  If it has to install it, it will not be the most recent version, so you have to type
pip install --upgrade pip
If it still fails, uninstall Python and reinstall paying close attention to the installation process.
1- Make sure you check the Install pip box
2- Make sure you check the box to add Python to the Environmental variables
3- Change the (really truely crappy) default installation directory to something better...like C:\Python36
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
Can't get pip to work - by KBingo - May-09-2017, 01:58 AM
RE: Can't get pip to work - by metulburr - May-09-2017, 02:35 AM
RE: Can't get pip to work - by KBingo - May-09-2017, 03:26 AM
RE: Can't get pip to work - by volcano63 - May-09-2017, 07:33 AM
RE: Can't get pip to work - by snippsat - May-09-2017, 01:23 PM
RE: Can't get pip to work - by metulburr - May-09-2017, 02:34 PM
RE: Can't get pip to work - by sparkz_alot - May-09-2017, 01:46 PM
RE: Can't get pip to work - by metulburr - May-09-2017, 02:27 PM
RE: Can't get pip to work - by sparkz_alot - May-09-2017, 03:35 PM
RE: Can't get pip to work - by snippsat - May-09-2017, 03:51 PM
RE: Can't get pip to work - by metulburr - May-09-2017, 05:22 PM
RE: Can't get pip to work - by KBingo - May-11-2017, 02:45 AM
RE: Can't get pip to work - by snippsat - May-11-2017, 06:05 AM
RE: Can't get pip to work - by KBingo - May-11-2017, 09:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020