Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
DisplayCal, python2 et python3
Merci, ça avance.
Répondre
Bonjour à tous et à toutes.
jpg54, j’ai pensé à toi, j’ai retenté d’installer une openSUSE Tumbleweed (version du 24 juin) dans une machine virtuelle et ça fonctionne.
J’ai fait :

Code :
sudo zypper install argyllcms libXxf86vm-devel patterns-devel-base-devel_basis patterns-devel-python-devel_python3 libpng16-devel libjpeg8-devel lzlib-devel libtiff-devel libexpat-devel gtk3-devel
pip install wheel
pip install displaycal

J’ai ajouté la ligne suivante au fichier caché .bashrc :
Code :
export PATH=/home/$USER/.local/bin:$PATH

Je me suis déconnecté et reconnecté et DisplayCAL dans le menu fonctionne.
Reste à le tester avec une sonde.
Ignace.
Répondre
Merci d'avoir penser à moi, je vais essayer quand j'aurais un moment. J'ai des choses importantes sur le feu doc darktable 4.0 qui arrive.
Répondre
Ah oui, un gros morceau.
Bon courage.
Ignace.
Répondre
Bonjour à tous et à toutes.
DisplayCAL en version 3.9.7 est sorti aujourd’hui.
Pour mettre votre version installé avec
Code :
pip install displaycal
Veuillez utiliser la commande suivante :
Code :
pip install displaycal --upgrade
Ignace.
Répondre
Merci, je ferai un essai avec ma nouvelle installation sur mon autre portable.
Répondre
(08-08-22, 12:17)ignace72 a écrit :
Code :
pip install displaycal --upgrade
Impeccable, merci !
dt stable / Ubuntu 22.04
Répondre
De rien, manu.
jpg54, pas de soucis.
J’ai testé la mise à jour sur openSUSE Leap et Tumbleweed, Manjaro Linux, Linux Mint et c’est bon.
Il me reste à faire une installation sur CentOS Steam pour être plus complet.
Ignace.
Répondre
Merci, je ferai un essai avec ma nouvelle installation sur mon autre portable.
Répondre
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


Atteindre :


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