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

Quartz is imported during setup. Forcing pyobjc to be installed separatly. #581

Closed
Avasam opened this issue Dec 15, 2022 · 0 comments
Closed

Comments

@Avasam
Copy link
Contributor

Avasam commented Dec 15, 2022

Similar to #563 , the setup tries to import code it cannot yet run. In this case, pyobjc is listed as a dependency, but Quartz is imported during setup.

  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 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/m5/fjrkxzd572x8b_46w998h8_m0000gn/T/pip-install-nz7pcvcn/keyboard_978449da599747b7904c7e06d575d304/setup.py", line 7, in <module>
          import keyboard
        File "/private/var/folders/m5/fjrkxzd572x8b_46w998h8_m0000gn/T/pip-install-nz7pcvcn/keyboard_978449da599747b7904c7e06d575d304/keyboard/__init__.py", line 240, in <module>
          from. import _darwinkeyboard as _os_keyboard
        File "/private/var/folders/m5/fjrkxzd572x8b_46w998h8_m0000gn/T/pip-install-nz7pcvcn/keyboard_978449da599747b7904c7e06d575d304/keyboard/_darwinkeyboard.py", line 3, in <module>
          import Quartz
      ModuleNotFoundError: No module named 'Quartz'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
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

1 participant