Gradiant / pyodi

Python Object Detection Insights
https://gradiant.github.io/pyodi/
Mozilla Public License 2.0
188 stars 16 forks source link

Review installation from git url #93

Closed mmeendez8 closed 4 years ago

mmeendez8 commented 4 years ago

Installation from pyodi git url crashes at this moment

  Source in /tmp/mmendez/pip-install-583cvkov/pycocotools has version 12.0.2, which satisfies requirement mmpycocotools from git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools (from pyodi==0.0)
  Removed mmpycocotools from git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools (from pyodi==0.0) from build tracker '/tmp/mmendez/pip-req-tracker-skxdv3ai'
Requirement already satisfied (use --upgrade to upgrade): mmpycocotools from git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools in /media/data/miniconda3/envs/cardio/lib/python3.7/site-packages (from pyodi==0.0)
ERROR: Exception:
Traceback (most recent call last):
  File "/opt/miniconda3/envs/cardio/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 216, in _main
    status = self.run(options, args)
  File "/opt/miniconda3/envs/cardio/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
    return func(self, options, args)
  File "/opt/miniconda3/envs/cardio/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 325, in run
    reqs, check_supported_wheels=not options.target_dir
  File "/opt/miniconda3/envs/cardio/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "/opt/miniconda3/envs/cardio/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 425, in _resolve_one
    assert req_to_install.user_supplied
AssertionError
Removed build tracker: '/tmp/mmendez/pip-req-tracker-skxdv3ai'
igonro commented 4 years ago

I think this is solved since this commit. I tried these commands and the installation completed succesfully:

conda create -n tmp python=3.7
conda activate tmp
pip install numpy cython
pip install git+https://github.com/pyodi/pyodi.git