Python 3.x Development Announcement

Home Forums General Discussion Python 3.x Development Announcement

Viewing 15 posts - 16 through 30 (of 40 total)
  • Author
    Posts
  • #37117

    Mark Walter
    Participant
    • Offline

    Oh you are under Windows. Unfortunately, the development is pretty much concentrated on Linux and partially MacOS for now. And also in future, when we create proper install packages for all OSes, you would not need to tackle with Python at all.

    For now, I suggest you to use the DisplayCAL 3.8.9.3 installer for Windows from this site.

    Just to let you know what I mean: The measurement button is greyed out and apparently in the windows version it is possible to verify the current icc-profil/display response, even when it is not generated with DisplayCal

    Attachments:
    You must be logged in to view attached files.
    #37127

    saltarob
    Participant
    • Offline

    Great work Erkan! Looking forward for a macOS install package. Kolay Gelsin.

    #37262

    Samazar
    Participant
    • Offline

    Hi Erkan, what is the latest ported version for Mac OS?

    #39156

    SuspiciousPixel
    Participant
    • Offline

    Is there no Windows installer for this?

    edit – just saw the previous post, guess not yet.

    Attachments:
    You must be logged in to view attached files.
    #39316

    Vincent
    Participant
    • Offline

    Hi Erkan, try to install requirements in macOS but failed

    pip install -r requirements.txt
    
    
    Ignoring dbus-python: markers 'sys_platform == "linux"' don't match your environment
    Collecting attrdict3
    Using cached attrdict3-2.0.2-py2.py3-none-any.whl (10 kB)
    Collecting build
    Using cached build-0.10.0-py3-none-any.whl (17 kB)
    Collecting certifi
    Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
    Collecting distro
    Using cached distro-1.8.0-py3-none-any.whl (20 kB)
    Collecting numpy
    Using cached numpy-1.24.2-cp311-cp311-macosx_10_9_x86_64.whl (19.8 MB)
    Collecting Pillow
    Using cached Pillow-9.5.0-cp311-cp311-macosx_10_10_x86_64.whl (3.4 MB)
    Collecting PyChromecast
    Using cached PyChromecast-13.0.7-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
    ╰─> [8 lines of output]
    Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/private/var/folders/vw/cv5v4d8s7zzb_zr44wv27ddr0000gp/T/pip-install-bjx5wzfa/wxpython_1d48f9ca86474eeebd508da2ed5cb069/setup.py", line 27, in <module>
    from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
    File "/private/var/folders/vw/cv5v4d8s7zzb_zr44wv27ddr0000gp/T/pip-install-bjx5wzfa/wxpython_1d48f9ca86474eeebd508da2ed5cb069/buildtools/config.py", line 30, in <module>
    from attrdict import AttrDict
    ModuleNotFoundError: No module named 'attrdict'
    [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.
    #39317

    Vincent
    Participant
    • Offline

    After

    pip install attrdict

    I got

    pip install -r requirements.txt
    Ignoring dbus-python: markers 'sys_platform == "linux"' don't match your environment
    Collecting attrdict3
    Using cached attrdict3-2.0.2-py2.py3-none-any.whl (10 kB)
    Collecting build
    Using cached build-0.10.0-py3-none-any.whl (17 kB)
    Collecting certifi
    Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
    Collecting distro
    Using cached distro-1.8.0-py3-none-any.whl (20 kB)
    Collecting numpy
    Using cached numpy-1.24.2-cp311-cp311-macosx_10_9_x86_64.whl (19.8 MB)
    Collecting Pillow
    Using cached Pillow-9.5.0-cp311-cp311-macosx_10_10_x86_64.whl (3.4 MB)
    Collecting PyChromecast
    Using cached PyChromecast-13.0.7-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 "/private/var/folders/vw/cv5v4d8s7zzb_zr44wv27ddr0000gp/T/pip-install-9v7ecq5v/wxpython_4a11664f213d4d148e966cefce0daf02/setup.py", line 27, in <module>
    from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
    File "/private/var/folders/vw/cv5v4d8s7zzb_zr44wv27ddr0000gp/T/pip-install-9v7ecq5v/wxpython_4a11664f213d4d148e966cefce0daf02/buildtools/config.py", line 30, in <module>
    from attrdict import AttrDict
    File "/Users/drizzt/Desktop/compartido/src/displaycal_venv/lib/python3.11/site-packages/attrdict/__init__.py", line 5, in <module>

    from attrdict.mapping import AttrMap
    File "/Users/drizzt/Desktop/compartido/src/displaycal_venv/lib/python3.11/site-packages/attrdict/mapping.py", line 4, in <module>
    from collections import Mapping
    ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/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.
    #39318

    Vincent
    Participant
    • Offline

    Forget whet I wrote, it was using system’s python instead of suggested version, I changed this from Erkans tutorial in github
    python3.10 -m venv ./displaycal_venv

    Running!

    #39319

    Vincent
    Participant
    • Offline

    For some reason there are no menus, so I cannot access lots of functionality (it was 1st run)

    • This reply was modified 1 year ago by Vincent.
    • This reply was modified 1 year ago by Vincent.
    #39322

    Vincent
    Participant
    • Offline

    As somebody said before, you are forces to create profile if you wish to verify it. I was not able run test without creating a profile first (I chose no calibration, simplest matrix profile).
    But… HTML reporting seems broken, report says 0 error to all, it looks like it is checking only WP & contrast.

    #39333

    Vincent
    Participant
    • Offline

    After

    pip install attrdict

    I got

    […]

    Same issue on Linux Mint 21, clena install of python 3 (3.10) and pip + virt env

    Solved by

    pip install attrdict3

    (and uninstalling the other)

    #39346

    Erkan Ozgur Yilmaz
    Participant
    • Offline

    Hi please use the GitHub project page for error reports and support as there are more developers monitoring the issues over there: http://www.github.com/eoyilmaz/displaycal-py

    #39360

    Samazar
    Participant
    • Offline

    Hi Erkan, I am not a coder but really appreciate the bold step you have taken to continue to build DisplayCAL. In all honesty I am a bit lost in regards to the progress that has been made so far. I am interested to calibrate my home theatre projector without spending a ton. I know I’d need a good basic colorimeter like the i1 Display Pro.

    1. Is there a new version of DisplayCAL available for use on Mac OSX platforms?
    2. Would I need a 3D LUT Box that works with DisplayCAL – any recent developments in this area?

    I’d appreciate it if someone could kindly provide perspective and guidance.

    Calibrite Display Pro HL on Amazon  
    Disclosure: As an Amazon Associate I earn from qualifying purchases.

    #39361

    Vincent
    Participant
    • Offline
    1. Is there a new version of DisplayCAL available for use on Mac OSX platforms?
    2. Would I need a 3D LUT Box that works with DisplayCAL – any recent developments in this area?

    I’d appreciate it if someone could kindly provide perspective and guidance.

    If this projector has a basic CMS and you may need to plug it to several “non computer sources” and you do not want to expend money on a lut box you may try playing with its CMS: RGBCMY + n points for gray balance.
    Toying with these controls is usually easier on Calman or DisplayCAL’ “cousin” HCFR with is calman-like but GNU.

    Unfotunately HCFR is Windows only AFAIK but you may try on a virtual machine since you’ll be using projector’s own CMS controls, no VCGT for grey or such things.

    I’ll try this first before buying a lutbox.  Also if you can use a Windows computer there is a banding free software LUT3D working at system Level: DWMLUT.

    Also there is no default colorimeter correction for blue laser projectors in Xrite software (there is a correction for older lamp based devices), maybe you can find them in community correction database or using some spectral distribution plot from AVS Forum if they own/reviwed your projector model.

    #39362

    erbs
    Participant
    • Offline

    Could someone please explain to a non-expert how to install this version on a Mac, as the official version does not work on macOS Ventura?

    Does an installation package (dmg or sth) exist?

    Thank you!

    #39474

    Professor Fate
    Participant
    • Offline

    As this discussion is already two years old: What is the current state of the Python 3 version of DisplayCAL? Unfortunately, SuSE has removed DisplayCAL from its repos, as the current production version is deprecated (because it relies on Python 2). After upgrading from OpenSuSE 15.3 to 15.4, it also disappeared from my machine, leaving me with an uncalibrated monitor. An alternative way for calibrating, gcm-calibrate, is no longer available either: It has been removed from the Gnome Color Manager.

    @Erkan: When can we expect the new verison to become stable enough for production use? Thank you.

Viewing 15 posts - 16 through 30 (of 40 total)

You must be logged in to reply to this topic.

Log in or Register

Display Calibration and Characterization powered by ArgyllCMS