Skip to content

Can't pip install trydiffoscope

Hey folks,

Per https://try.diffoscope.org/, I should be able to pip install trydiffoscope to try the webui locally.

After making a fresh venv for python 3.10, updating pip/wheel/setuptools (to make sure they're up to date), trying to pip install trydiffoscope fails with some interesting pip errors:

cmachalo@cmachalo-mn2:~/remote $ mkdir trydiffoscope
cmachalo@cmachalo-mn2:~/remote $ cd trydiffoscope/
cmachalo@cmachalo-mn2:~/remote/trydiffoscope $ /export/apps/python/3.10/bin/python3 -m venv .
cmachalo@cmachalo-mn2:~/remote/trydiffoscope $ source bin/activate
(venv:trydiffoscope) cmachalo@cmachalo-mn2:~/remote/trydiffoscope $ pip install -U wheel pip setuptools
Collecting wheel
  Using cached wheel-0.44.0-py3-none-any.whl (67 kB)
Requirement already satisfied: pip in ./lib/python3.10/site-packages (23.0.1)
Collecting pip
  Using cached pip-24.3.1-py3-none-any.whl (1.8 MB)
Requirement already satisfied: setuptools in ./lib/python3.10/site-packages (65.5.0)
Collecting setuptools
  Using cached setuptools-75.3.0-py3-none-any.whl (1.3 MB)
Installing collected packages: wheel, setuptools, pip
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.5.0
    Uninstalling setuptools-65.5.0:
      Successfully uninstalled setuptools-65.5.0
  Attempting uninstall: pip
    Found existing installation: pip 23.0.1
    Uninstalling pip-23.0.1:
      Successfully uninstalled pip-23.0.1
Successfully installed pip-24.3.1 setuptools-75.3.0 wheel-0.44.0
(venv:trydiffoscope) cmachalo@cmachalo-mn2:~/remote/trydiffoscope $ pip install trydiffoscope
Collecting trydiffoscope
  Using cached trydiffoscope-67.0.4.tar.gz (3.0 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package trydiffoscope produced metadata for project name unknown. Fix your #egg=trydiffoscope fragments.
Discarding https://files.pythonhosted.org/packages/5f/55/99b9c1f4ef5de405580c3a6b3398d444f0ae4edcce66050042a944ced2ca/trydiffoscope-67.0.4.tar.gz (from https://pypi.org/simple/trydiffoscope/): Requested unknown from https://files.pythonhosted.org/packages/5f/55/99b9c1f4ef5de405580c3a6b3398d444f0ae4edcce66050042a944ced2ca/trydiffoscope-67.0.4.tar.gz has inconsistent name: expected 'trydiffoscope', but metadata has 'unknown'
  Using cached trydiffoscope-67.0.3.tar.gz (1.6 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package trydiffoscope produced metadata for project name unknown. Fix your #egg=trydiffoscope fragments.
Discarding https://files.pythonhosted.org/packages/3f/49/8f31e86d1f3b3743c63ad8f472f96fd3d95fc4d2f8a464d25ae9b56c35ff/trydiffoscope-67.0.3.tar.gz (from https://pypi.org/simple/trydiffoscope/): Requested unknown from https://files.pythonhosted.org/packages/3f/49/8f31e86d1f3b3743c63ad8f472f96fd3d95fc4d2f8a464d25ae9b56c35ff/trydiffoscope-67.0.3.tar.gz has inconsistent name: expected 'trydiffoscope', but metadata has 'unknown'
  Using cached trydiffoscope-67.0.2.tar.gz (1.6 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package trydiffoscope produced metadata for project name unknown. Fix your #egg=trydiffoscope fragments.
Discarding https://files.pythonhosted.org/packages/2d/ec/5319d90b1bc23d8e7a0c946ad6386671740d01976f4ba743de37faebf513/trydiffoscope-67.0.2.tar.gz (from https://pypi.org/simple/trydiffoscope/): Requested unknown from https://files.pythonhosted.org/packages/2d/ec/5319d90b1bc23d8e7a0c946ad6386671740d01976f4ba743de37faebf513/trydiffoscope-67.0.2.tar.gz has inconsistent name: expected 'trydiffoscope', but metadata has 'unknown'
  Using cached trydiffoscope-67.0.0.tar.gz (1.4 kB)
ERROR: trydiffoscope from https://files.pythonhosted.org/packages/a0/7f/916cf0881614456232e5b1a90e99e74e5dab538baf8f1a72594e249b6d94/trydiffoscope-67.0.0.tar.gz does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

Python info:

python --version
Python 3.10.14

On a Mac

Edited by Charles Machalow