Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors during installation of cvat-cli [cvat-sdk==2.0] #4859

Closed
2 tasks done
yasakova-anastasia opened this issue Aug 26, 2022 · 2 comments · Fixed by #4903
Closed
2 tasks done

Errors during installation of cvat-cli [cvat-sdk==2.0] #4859

yasakova-anastasia opened this issue Aug 26, 2022 · 2 comments · Fixed by #4903
Assignees
Labels
duplicate This issue or pull request already exists sdk/cli

Comments

@yasakova-anastasia
Copy link
Contributor

My actions before raising this issue

Expected Behaviour

Following the documentation Manual/Advanced/CLI to install cvat-cli:
pip install 'git+https://github.com/cvat-ai/cvat#subdirectory=cvat-cli'

Current Behaviour

pip install 'git+https://github.com/cvat-ai/cvat#subdirectory=cvat-cli'
Returns:
ERROR: Could not find a version that satisfies the requirement cvat-sdk==2.0 (from cvat-cli) (from versions: none) ERROR: No matching distribution found for cvat-sdk==2.0
After that cvat-cli is not installed.

Possible Solution

Steps to Reproduce (for bugs)

  1. Create virual env and activate it
    1.pip install 'git+https://github.com/cvat-ai/cvat#subdirectory=cvat-cli'

Your Environment

  • Git hash commit (git log -1):
  • Python version (python --version): 3.8.10
  • Pip versione (pip --version): pip 20.0.2
  • Are you using Docker Swarm or Kubernetes? No
  • Operating System and version (e.g. Linux, Windows, MacOS): Uubuntu 18.04 LTS
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Pip execution logs:

pip install 'git+https://github.com/cvat-ai/cvat#subdirectory=cvat-cli'
Collecting git+https://github.com/cvat-ai/cvat#subdirectory=cvat-cli
Cloning https://github.com/cvat-ai/cvat to /tmp/pip-req-build-1w_wtosj
Running command git clone -q https://github.com/cvat-ai/cvat /tmp/pip-req-build-1w_wtosj
Running command git submodule update --init --recursive -q
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
ERROR: Could not find a version that satisfies the requirement cvat-sdk==2.0 (from cvat-cli==0.2) (from versions: none)
ERROR: No matching distribution found for cvat-sdk==2.0 (from cvat-cli==0.2)

Issue by @matteobarato

@mitjakoren
Copy link

Any idea what the cause could be for the problem? Having exactly the same problem trying to install cvat-cli via
pip install 'git+https://github.com/cvat-ai/cvat#subdirectory=cvat-cli'. Is there another way installing cvat-cli?

@zhiltsov-max zhiltsov-max self-assigned this Sep 5, 2022
@zhiltsov-max
Copy link
Contributor

Hi. Until there is a release on PyPI for cvat-sdk, you need to follow the developer instructions described here: #4827 (comment). We are working on releasing cvat-sdk and cvat-cli packages (tracked in #3716).

@zhiltsov-max zhiltsov-max added duplicate This issue or pull request already exists sdk/cli labels Sep 5, 2022
@zhiltsov-max zhiltsov-max mentioned this issue Sep 5, 2022
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists sdk/cli
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants