Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
DisplayCal, python2 et python3
Bonjour, je viens de passer ma machine en version 22.04.1 d'Ubuntu, non sans quelque bataille par rapport à nvidia, mais tout semble fonctionner.

Sauf displaycal.

Alors j'ai décidé de refaire une fresh install, mais j'ai des soucis :

Code :
# pip3 install -r requirements.txt
Collecting build
  Using cached build-0.8.0-py3-none-any.whl (17 kB)
Collecting certifi
  Using cached certifi-2022.6.15-py3-none-any.whl (160 kB)
Collecting dbus-python
  Using cached dbus-python-1.2.18.tar.gz (578 kB)
  Preparing metadata (setup.py) ... done
Collecting distro
  Using cached distro-1.7.0-py3-none-any.whl (20 kB)
Collecting numpy
  Using cached numpy-1.23.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB)
Collecting Pillow
  Using cached Pillow-9.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.2 MB)
Collecting PyChromecast
  Using cached PyChromecast-12.1.4-py2.py3-none-any.whl (62 kB)
Collecting Send2Trash
  Using cached Send2Trash-1.8.0-py3-none-any.whl (18 kB)
Collecting wxPython>=4.1.1
  Using cached wxPython-4.2.0.tar.gz (71.0 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
 
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-ynw0bwl8/wxpython_ddecdd781d224ea8929c600b6d528b59/setup.py", line 27, in <module>
          from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
        File "/tmp/pip-install-ynw0bwl8/wxpython_ddecdd781d224ea8929c600b6d528b59/buildtools/config.py", line 30, in <module>
          from attrdict import AttrDict
        File "/opt/displaycal/displaycal_venv/lib/python3.10/site-packages/attrdict/__init__.py", line 5, in <module>
          from attrdict.mapping import AttrMap
        File "/opt/displaycal/displaycal_venv/lib/python3.10/site-packages/attrdict/mapping.py", line 4, in <module>
          from collections import Mapping
      ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
dt stable / Ubuntu 22.04
Répondre


Messages dans ce sujet
DisplayCal, python2 et python3 - par chloma - 25-01-22, 23:13
RE: DisplayCal, python2 et python3 - par manu - 18-08-22, 20:31

Atteindre :


Utilisateur(s) parcourant ce sujet : 2 visiteur(s)