Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Pip-3.2 on Cygwin

I have Python 3 installed on Cygwin. However, I am unable to install Python 3 packages via pip. Is there a way to do this?

like image 342
David Y. Stephenson Avatar asked Sep 05 '13 16:09

David Y. Stephenson


People also ask

How do I install Python packages in Cygwin?

Ensure python is installed in cygwin. Type python on the terminal of cygwin and it should launch the python shell. If it doesn't launch the setup file for cygwin and select python from the package list and install.

How do I install pip in CMD?

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.


1 Answers

1)While installing cygwin, make sure you install the python/python-setuptools from the list. This will install "easy_install" package.

2) Type the following command:

easy_install-a.b pip    

You must replace a.b with your python version which can be 2.7 or 3.4 or whatever else.

like image 69
moovon Avatar answered Oct 11 '22 21:10

moovon