Skip to content

pip install scheme git+http fails on Cygwin due to invalid clone destination-path #4895

Closed
@ankostis

Description

@ankostis

Description:

pip install git+http shceme has stopped working after Cygwin64 upgraded git to 2.8.3+ with invalid path.
See also discussion in Git mailing-list: http://lists-archives.com/git/894111-cygwin-git-cannot-install-python-packages-with-pip.html

What I've run:

With cygdrive installed in D:\cygwin64\, i get the following error:

@host(cygwin):~$export GIT_TRACE=2
@host(cygwin):~$pip install git+https://github.com/redacted/XKCD-password-generator
Collecting git+https://github.com/redacted/XKCD-password-generator
  Cloning https://github.com/redacted/XKCD-password-generator to d:\apps\cygwin64\tmp\pip-8yv12z7t-build
00:03:26.171602 git.c:340               trace: built-in: git 'clone' '-q' 'https://github.com/redacted/XKCD-password-generator' 'D:\cygwin64\tmp\pip-8yv12z7t-build'
fatal: Invalid path '/cygdrive/d/cygwin64/home/user/D:\cygwin64\tmp\pip-8yv12z7t-build': No such file or directory
Command "git clone -q https://github.com/redacted/XKCD-password-generator D:\cygwin64\tmp\pip-8yv12z7t-build" failed with error code 128 in None

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions