waspinator / pycococreator

Helper functions to create COCO datasets
Apache License 2.0
765 stars 179 forks source link

Getting error when trying to install in Kaggle #46

Open rohan-paul opened 2 years ago

rohan-paul commented 2 years ago

After running !pip install git+git://github.com/waspinator/pycococreator.git@0.2.0

getting errror

Collecting git+git://github.com/waspinator/pycococreator.git@0.2.0
  Cloning git://github.com/waspinator/pycococreator.git (to revision 0.2.0) to /tmp/pip-req-build-m589ikd6
  Running command git clone --filter=blob:none --quiet git://github.com/waspinator/pycococreator.git /tmp/pip-req-build-m589ikd6
  fatal: remote error:
    The unauthenticated git protocol on port 9418 is no longer supported.
  Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
  error: subprocess-exited-with-error

  × git clone --filter=blob:none --quiet git://github.com/waspinator/pycococreator.git /tmp/pip-req-build-m589ikd6 did not run successfully.
  │ exit code: 128
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/waspinator/pycococreator.git /tmp/pip-req-build-m589ikd6 did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
EthanHNguyen commented 2 years ago

pip install git+https://github.com/waspinator/pycococreator.git

EthanHNguyen commented 2 years ago

According to https://github.blog/2021-09-01-improving-git-protocol-security-github/ (in the message), "If you’re having trouble cloning a repository, make sure the URL starts with ssh://, https://, or git@github.com."

datasith commented 10 months ago

thank @EthanHNguyen. confirming https change worked for me.