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

Installation issue (related to Python 3.13?) #222

Open
degudejung opened this issue Nov 20, 2024 · 2 comments
Open

Installation issue (related to Python 3.13?) #222

degudejung opened this issue Nov 20, 2024 · 2 comments

Comments

@degudejung
Copy link

Hi,
on macOS 14.7 I successfully installed

  • Python 3.13
  • pip 24.3.1
  • Pillow 11.0 (due to compatibility issue of 10.x versions with Python 3.13)
  • cairo 1.18.2
  • pkgconf 2.3.0_1
  • Roboto font
    ...and I can successfully setup the VENV at /users/%USERNAME%/venv. However, installing GoPro-overlay in the venv (venv/bin/pip install gopro-overlay) throws the following error:
Collecting gopro-overlay
  Using cached gopro-overlay-0.126.0.tar.gz (421 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pillow==10.1.0 (from gopro-overlay)
  Using cached Pillow-10.1.0.tar.gz (50.8 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
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "/Users/degudejung/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/Users/degudejung/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/degudejung/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/ws/mx_75pdx3sx4dpy1n65pswvh0000gn/T/pip-build-env-rvfc080d/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/ws/mx_75pdx3sx4dpy1n65pswvh0000gn/T/pip-build-env-rvfc080d/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/private/var/folders/ws/mx_75pdx3sx4dpy1n65pswvh0000gn/T/pip-build-env-rvfc080d/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 30, in <module>
        File "<string>", line 27, in get_version
      KeyError: '__version__'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: python3.13 -m pip install --upgrade 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.

It may be relevant to state that pip is, in fact, already 24.3.1:

python3.13 -m pip install --upgrade pip
Requirement already satisfied: pip in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (24.3.1)
pip --version
pip 24.3.1 from /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pip (python 3.13)

Any ideas how to fix this? Thank you

@time4tea
Copy link
Owner

time4tea commented Nov 20, 2024 via email

@degudejung
Copy link
Author

Happy to try something out for you here, if it helps. maybe I should not have installed py 3.13 in the first place but now it's kinda too late to roll back.

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

2 participants