Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install git+ssh with dependency Could not find a version that satisfies the requirement | No matching distribution foun #4295

Closed
wobeng opened this issue Feb 21, 2017 · 4 comments
Labels
auto-locked Outdated issues that have been locked by automation type: support User Support

Comments

@wobeng
Copy link

wobeng commented Feb 21, 2017

  • Pip version: 9.0.1
  • Python version: 2.7.12
  • Operating system: Amazon Linux AMI

I have private repo package called "some-library" with the setup.py below

setup(
    name='some-library',

    // Omitted some less important stuff here...

    install_requires=[
        'another-git-dependency',
    ],
    dependency_links=[
        'git+ssh://[email protected]/my-organization/another-git-dependency.git#egg=another-git-dependency',
    ],
)

I include "git+ssh://[email protected]/my-organization/some-library.git#egg=some-library" in a requirements.txt file on another project and "pip install -r requirements.txt" .

I got the following error :

Collecting some-library git+ssh://[email protected]/my-organization/some-library.git#egg=some-library
  Cloning ssh://[email protected]/my-organization/some-library.git to /tmp/tmpsnQ9iApycharm-packaging/some-library
Collecting another-git-dependency (from some-library)
  Could not find a version that satisfies the requirement another-git-dependency (from some-library) (from versions: )
No matching distribution found for another-git-dependency  (from some-library)
@gopar
Copy link

gopar commented Mar 7, 2017

Having same issue. Any fixes?

@xavfernandez
Copy link
Member

Did you use the --process-dependency-links option ?

@gopar
Copy link

gopar commented Mar 8, 2017

Wow, can't believe I missed that. Thanks that solved it for me.

@xavfernandez
Copy link
Member

You're welcome :)

@xavfernandez xavfernandez added the type: support User Support label Mar 9, 2017
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: support User Support
Projects
None yet
Development

No branches or pull requests

3 participants