Python2 to Python3

Home Forums Help and Support Python2 to Python3

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #28805

    Julius Caesar
    Participant
    • Offline

    Hi,

    Is there a plan to rewrite the source code to be compatible with Python 3?

    I’ve recompiled ArgyllCMS to arm64 successfully but since DisplayCAL is written in Python 2 I cannot compile it to support Apple M1 natively as the earliest version of Python that officially supports it is 3.9.1.

    The underlying dependencies work fine with Python 3 so there’s no issue there AFAIK.

    EDIT: there is an issue with pip not compiling wxPython correctly. The configure script finds homebrew libtiff so disables –with-libtiff=builtin but fails to include the homebrew header file. I manually created a workaround for that though several files in sip/cpp/sip_core* won’t link as it’s still trying to build for x86_64. The resulting wheel is somewhat functional though I’m not sure what effect the unlinked files have.

    • This topic was modified 3 years, 2 months ago by Julius Caesar.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Log in or Register

Display Calibration and Characterization powered by ArgyllCMS