question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing private repo with git+git is not working at 2018.7.1 version

See original GitHub issue

This works with older version: pipenv version: 11.10.1 pipenv install -e git+git@github.com:some/repo.git#egg=foo\&subdirectory=sub

Running same command with version: 2018.7.1. First part succeeds, then second part fails.

Installing ...
Obtaining foo from git+git@github.com:CloudVLab/fusion.git#egg=Fusion&subdirectory=python
...
Successfully installed foo

Adding -e git+git@github.com:... to Pipfile's [packages]...

Pipfile.lock (a34c46) out of date, updating to (0c0917)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
...
Command "git clone -q ssh://git@github.com:some/repo.git /tmp/tmptsmueli7source/foo" failed with error code 128 in None
...

Pipenv should either do(both commands are exactly same AFAIK): git clone git@github.com:some/repo.git or git clone ssh://git@github.com/some/repo.git notice the : vs /

instead it is doing: ssh://git@github.com:some/repo.git which obviously not working.

As a workaround I had to do: pipenv install -e git+ssh://git@github.com/some/repo.git

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dsummerslcommented, Sep 11, 2020

Nope, I tried it. Works. Thank you!

1reaction
techalchemycommented, Aug 4, 2018

This is resolved in what will be the next release (I’d link to the issues but we fixed it some time ago)

Have been slammed on our end lately, but should be able to get the release out shortly – sorry for the issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trouble installing private github repository using pip
It worked by using oxyum's suggestion of changing the : to a / : pip install git+ssh://git@github.com/matherbk/django-messages.git.
Read more >
Installing Private Python Packages - Read the Docs
Read the Docs uses pip to install your Python packages. If you have private dependencies, you can install them from a private Git...
Read more >
Installing private Git repositories through npm install in Docker
In this post I'll use a private repository on GitHub as an example. Any other git provider will however also work with this...
Read more >
How do you install git-filter-repo? - Super User
pip install. They now have a python package that just works: python3 -m pip install --user git-filter-repo. That method installs both the ...
Read more >
Create a Git repository | Bitbucket Cloud - Atlassian Support
Step 1. Create the repository · Access level—Leave the This is a private repository box checked. A private repository is only visible to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found