openskynetwork / opensky-api

Python and Java bindings for the OpenSky Network REST API
GNU General Public License v3.0
345 stars 126 forks source link

The correct pip install command #27

Open elver opened 4 years ago

elver commented 4 years ago

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 commented 4 years ago

Thank you!

aperalta1437 commented 4 years ago

Very helpful I would say! :)

kashiwachen commented 3 years ago

@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 commented 2 years ago

@kashiwachen Thanks! Works in GoogleCollab .ipynb

olllayor commented 11 months ago

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)