how do i install pip in cygwin?

3

1

I want to install pip in cygwin (Windows 10). When I try that I get the comment that the destination file is missing. So how can I choose file? Is there any way to see the entire file system in cygwin? I have, or so I thought, already installed pip from cygwin installation package but when I try to run pip (or virtualenv) from cygwin I only get back command not found. So, if the question seems confused then it reflects my state of mind accurately.

FredSwed

Posted 2018-05-03T19:43:36.833

Reputation: 31

Question was closed 2018-05-03T20:09:20.523

1Although he asks about viewing file system in cygwin, I believe he wants to install pip, so I answered that. As far as the file system in cygwin, it is 'hiding' in C:\cygwin64. For example the home directory \home\username is on the windows file system at c:\cygwin64\home\username – Dan Sp. – 2018-05-03T20:42:46.980

I suspect this question was closed in error. but in any case, open the cygwin installer again, and search for "pip" under install-able packages, you will find a package named something like python38-pip, installing this package gives you the command pip3.8, now run: pip3.8 install --upgrade pip , once that finishes, the pip command is finally available, and it should be the latest released version of pip, mission complete :) – hanshenrik – 2020-01-11T22:23:23.873

Answers

5

In CYGWIN it is best to install packages via the CYGWIN installation program. Even for other installation packages like pip.

Run the CYGWIN installation program again. Select the pip package you want. Currently, python3-pip and python2-pip are available.

Running this installation again only updates your current CYGWIN installation and does not hurt anything you have installed already.

Dan Sp.

Posted 2018-05-03T19:43:36.833

Reputation: 191