cocodataset / cocoapi

COCO API - Dataset @ http://cocodataset.org/
Other
6.08k stars 3.75k forks source link

ERROR: File "setup.py" not found for legacy project git+https://github.com/cocodataset/cocoapi.git. #592

Open Shahidkhan990 opened 2 years ago

Shahidkhan990 commented 2 years ago

!pip install git+https://github.com/cocodataset/cocoapi.git

when i run this line i face bellow error, please help

Collecting git+https://github.com/cocodataset/cocoapi.git Cloning https://github.com/cocodataset/cocoapi.git to /tmp/pip-req-build-nfmbh0r2 Running command git clone -q https://github.com/cocodataset/cocoapi.git /tmp/pip-req-build-nfmbh0r2 ERROR: File "setup.py" not found for legacy project git+https://github.com/cocodataset/cocoapi.git.

Beluuuuuuga commented 2 years ago

Hi @Shahidkhan990 Please try this command! Good luck!

$ pip install -U git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI