git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: CYGWIN git cannot install python packages with pip

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 4, 2017, 11:26 UTC
Message-ID
<alpine.DEB.2.21.1.1705041324030.4905@virtualbox>
In-Reply-To
<CA+dhYEX0f206pZ+7seOce7McnfZ9ZfXLvSn7YH3Ykgqk+gA8gg@mail.gmail.com>
Hi,
On Thu, 4 May 2017, ankostis wrote:
Show 11 quoted lines
> On 4 May 2017 at 11:47, Adam Dinwoodie <adam@dinwoodie.org> wrote:
> > Confirmed: the Cygwin project as a general rule doesn't support this
> > sort of mixing of Windows and Cygwin tools.  Either use Python and Git
> > packages both provided by Cygwin, or both provided by Windows.
> >
> > Mixing and matching does work sometimes -- as was apparently the case
> > with Cygwin Git v2.8.3-1 -- but it requires care and you're generally on
> > your own with it.
> 
> MSYS2's git-2.12.1 also works fine, so there must be something
> different in this build of git that breaks this long-standing capability.

MSYS2's runtime has auto-conversion functionality, trying to guess what arguments passed to a non-MSYS2 program may be Unix paths, converting them to Windows ones.

So what you may see here has nothing to do with MSYS2's Git *not* having the change that breaks Cygwin Git for you, but MSYS2's runtime saving you from trouble.

> Judging from the error-message, it somehow concatenates input & output
> paths.
> Isn't this something to research about?

It is something to research about. But by you, not by me. I need to focus on bigger-impact issues, because I do not scale, and Git for Windows' users generally do not experience the problem you described.

Ciao, Johannes

Previous: ankostisNext: ankostis
Message 8 of 10 in “CYGWIN git cannot install python packages with pip”
  1. ankostisMay 2, 2017
  2. ankostisMay 2, 2017
  3. Johannes SchindelinMay 3, 2017
  4. ankostisMay 3, 2017
  5. Johannes SchindelinMay 3, 2017
  6. Adam DinwoodieMay 4, 2017
  7. ankostisMay 4, 2017
  8. Johannes SchindelinMay 4, 2017
  9. ankostisMay 16, 2017
  10. ankostisMay 16, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.