facebookresearch / Detectron

FAIR's research platform for object detection research, implementing popular algorithms like Mask R-CNN and RetinaNet.
Apache License 2.0
26.25k stars 5.45k forks source link

Couldn't find index page for 'fvcore' (maybe misspelled?) #963

Open baiyubaiyu opened 4 years ago

baiyubaiyu commented 4 years ago

When I run ‘’setup.py' , I get an error: can't find fvcore.

Searching for fvcore@ git+https://github.com/facebookresearch/fvcore.git
Reading https://pypi.org/simple/fvcore/
Couldn't find index page for 'fvcore' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error on https://pypi.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or working download links found for fvcore@ git+https://github.com/facebookresearch/fvcore.git
error: Could not find suitable distribution for Requirement.parse('fvcore@ git+https://github.com/facebookresearch/fvcore.git')

I try to manually installing it : pip install git+https://github.com/facebookresearch/fvcore.git and i got feedback: Successfully built fvcore

but after that, the same question still exist, what shhould i do?

ppwwyyxx commented 4 years ago

https://github.com/facebookresearch/detectron2/ and this repo are two different projects.

Could you:

  1. share your current pip/setuptools version: pip --version, python -c 'import setuptools; print(setuptools.__version__)'
  2. upgrade pip/setuptools to latest version and retry?
baiyubaiyu commented 4 years ago

pip --version pip 19.3.1 from /root/anaconda3/lib/python3.7/site-packages/pip (python 3.7)

print(setuptools.version) 41.0.1

ppwwyyxx commented 4 years ago

It seems that pip install -e . will work. Could you try this instead of running setup.py directly?