Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing with pip using Python 3.12 #358

Open
AndreiVernon opened this issue Apr 30, 2024 · 3 comments
Open

Error installing with pip using Python 3.12 #358

AndreiVernon opened this issue Apr 30, 2024 · 3 comments

Comments

@AndreiVernon
Copy link

Hi, I'm getting the following error when installing with pip using python 3.12:

C:\Users\USER>pip install displaycal
Collecting displaycal
  Using cached DisplayCAL-3.9.12.tar.gz (10.7 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      <string>:20: DeprecationWarning: 'msilib' is deprecated and slated for removal in Python 3.13
      ['egg_info']
      *** C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py egg_info
      using distutils
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal.desktop
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal-3dlut-maker.desktop
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal-apply-profiles.desktop
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal-curve-viewer.desktop
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal-profile-info.desktop
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal-scripting-client.desktop
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal-synthprofile.desktop
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal-testchart-editor.desktop
      desktopfile: C:\Users\USER\AppData\Local\Temp\pip-install-j1kbqwbl\displaycal_49b9134325e84b8786d8aea9986d6d08\DisplayCAL\..\misc\displaycal-vrml-to-x3d-converter.desktop
      error: package directory 'DisplayCAL\lib64\python312' does not exist
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Is python 3.12 not supported by the program yet? If this is the case, are there any plans to support it in the future? Thank you.

@ColorfanXP
Copy link

Im getting the same error and I'm using python 3.10

@p5k369
Copy link
Collaborator

p5k369 commented May 20, 2024

Hey @AndreiVernon, indeed the package provided by pypi does not support python 3.12 atm, that is because wxPython (the gui framework, displaycal heavily relies on, does not support python-3.12 properly atm).
However you can just use the "develop" branch and should be able to run displaycal with python-3.12 if you don't mind displaycal not exiting properly.
You can read about it here: wxWidgets/Phoenix#2455
@ColorfanXP are you sure you getting the exact same error?

@eoyilmaz
Copy link
Owner

eoyilmaz commented Jun 7, 2024

@AndreiVernon DisplayCAL + Python 3.12 under Windows will not install at all. Try using Python 3.11, but I fixed Windows version just recently, you need to build from source, you can follow the Menual Setup (Windows) section...

or just wait until I release 3.9.13 around one or two weeks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants