nexB / python-inspector

Inspect Python code and PyPI package manifests. Resolve Python dependencies.
20 stars 17 forks source link

`No matching distribution found for typing-extensions` when install in Ubuntu 20.04.5 LTS #132

Closed nnobelis closed 1 year ago

nnobelis commented 1 year ago

Running pip install git+https://github.com/nexB/python-inspector:

ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/lib/python3/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-_xtrb5dg/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >= 50' wheel 'setuptools_scm[toml] >= 6'
       cwd: None
  Complete output (8 lines):
  Collecting setuptools>=50
    Downloading setuptools-67.6.1-py3-none-any.whl (1.1 MB)
  Collecting wheel
    Downloading wheel-0.40.0-py3-none-any.whl (64 kB)
  Collecting setuptools_scm[toml]>=6
    Downloading setuptools_scm-7.1.0-py3-none-any.whl (43 kB)
  ERROR: Could not find a version that satisfies the requirement typing-extensions (from setuptools_scm[toml]>=6) (from versions: none)
  ERROR: No matching distribution found for typing-extensions (from setuptools_scm[toml]>=6)
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-_xtrb5dg/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >= 50' wheel 'setuptools_scm[toml] >= 6' Check the logs for full command output.
pombredanne commented 1 year ago

@nnobelis Which python version you are running?

nnobelis commented 1 year ago

Good find! Our user was running pip install with Python 2.7.18.

Running pip3 install git+https://github.com/nexB/python-inspector is successful. Thanks for your support !