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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble installing the mindeps tool #6

Open
sschuberth opened this issue Apr 11, 2022 · 0 comments
Open

Trouble installing the mindeps tool #6

sschuberth opened this issue Apr 11, 2022 · 0 comments

Comments

@sschuberth
Copy link

sschuberth commented Apr 11, 2022

First of all, I'm not a Python guy, so sorry if I'm asking stupid questions 馃槈 I'm looking at using this tool in the ORT Analyzer to list a Python project's (no matter whether defined by a setup.py or a requirements.txt) transitive dependencies and their metadata without actually building the Python project.

The mindeps CLI seems to be suitable for that, but I'm having trouble installing it. I tried this on Ubuntu 18.04 LTS with both Python 2.7 and Python 3.6, but in both cases I'm getting resolver 0.2.1 does not provide the extra 'mindeps':

$ pip install resolver[mindeps]
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: resolver[mindeps] in /home/user/.local/lib/python2.7/site-packages (0.2.1)
  WARNING: resolver 0.2.1 does not provide the extra 'mindeps'
$ pip3 install resolver[mindeps]
Collecting resolver[mindeps]
  resolver 0.2.1 does not provide the extra 'mindeps'
Installing collected packages: resolver
Successfully installed resolver-0.2.1

Any hints how to install the mindeps CLI porperly?

@sschuberth sschuberth changed the title Trouble installing the minideps tool Trouble installing the mindeps tool Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant