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

The correct pip install command #27

Open
elver opened this issue Jun 8, 2020 · 5 comments
Open

The correct pip install command #27

elver opened this issue Jun 8, 2020 · 5 comments

Comments

@elver
Copy link

elver commented Jun 8, 2020

Here's how to really install the Python version from git:

pip install -e "git+https://github.com/openskynetwork/opensky-api.git#egg=python&subdirectory=python"

Having this in the docs would be useful :)

@rsg73
Copy link

rsg73 commented Aug 21, 2020

Thank you!

@aperalta1437
Copy link

Very helpful I would say! :)

@kashiwachen
Copy link

kashiwachen commented Feb 1, 2021

@elver Sorry but this doesn't work with me

Obtaining python from git+https://github.com/openskynetwork/opensky-api.git#egg=python&subdirectory=python
Updating ./src/python clone
WARNING: Generating metadata for package python produced metadata for project name opensky-api. Fix your #egg=python fragments.
ERROR: Requested opensky-api from git+https://github.com/openskynetwork/opensky-api.git#egg=python&subdirectory=python has different name in metadata: 'opensky-api'

pip install -e "git+https://github.com/openskynetwork/opensky-api.git#egg=opensky-api&subdirectory=python" works with me.

@legas7
Copy link

legas7 commented Jan 17, 2022

@kashiwachen
Thanks! Works in GoogleCollab .ipynb

@olllayor
Copy link

WARNING: Generating metadata for package python produced metadata for project name opensky-api. Fix your #egg=python fragments.
Discarding git+https://github.com/openskynetwork/opensky-api.git#egg=python&subdirectory=python: Requested opensky-api from git+https://github.com/openskynetwork/opensky-api.git#egg=python&subdirectory=python has inconsistent name: expected 'python', but metadata has 'opensky-api'
ERROR: Could not find a version that satisfies the requirement python (unavailable) (from versions: none)
ERROR: No matching distribution found for python (unavailable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants