Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use pip with python 3.4 on windows?

Just installed a fresh copy of python 3.4.1 on windows 7. Here says that pip is included by default. but i could not find any pip.exe or some pip commands. Do I need to install it separately or it exists somewhere?

like image 314
Kin Avatar asked Jun 18 '14 12:06

Kin


People also ask

How do I run a pip in Python 3?

Single Python in system x : sudo python -m pip install [package] If the package is for python 3. x : sudo python3 -m pip install [package]

How do I install pip for Python 3 Windows?

Step 1: Download the get-pip.py (https://bootstrap.pypa.io/get-pip.py) file and store it in the same directory as python is installed. Step 2: Change the current path of the directory in the command line to the path of the directory where the above file exists. Step 4: Now wait through the installation process.

How do I run a Python pip?

Ensure you can run pip from the command lineRun python get-pip.py . 2 This will install or upgrade pip. Additionally, it will install setuptools and wheel if they're not installed already. Be cautious if you're using a Python install that's managed by your operating system or another package manager.


1 Answers

i have Windows7 Python 3.4.1; following command suggested by Guss worked well

C:\Users>py -m pip install requests 

Output

Downloading/unpacking requests Installing collected packages: requests Successfully installed requests Cleaning up... 
like image 169
slacker Avatar answered Oct 09 '22 11:10

slacker