-1

I was trying to install PyUserInput on os x El Capitan, but I couldn't manage to do so. In the git repository instructions it is written that Quartz and AppKit are needed, but I can't figure out how to install them.

I would appreciate your help, Thanks!

omerhay95
  • 3
  • 1

1 Answers1

0

Welcome to Stack Overflow.

Whenever you have to install dependencies, you should look into the package manager for the programming language (or operating system). In your case, the package manager for Python is pip.

You can use the package managers through your shell (command prompt, terminal, etc.)

Quartz. You can find the documentation here

pip install -U pyobjc

AppKit. You can find the documentation here

pip install appkit

Then, you can install PyUserInput. The repo for PyUserInput is here.

mugabits
  • 1,015
  • 1
  • 12
  • 22
  • 1
    thanks for the reply! I tried this already (pip install -U pyobjc), but I get an error: ` Failed building wheel for pyobjc-framework-CoreLocation 1 error generated. error: command 'gcc' failed with exit status 1 failed with error code 1 in /private/var/folders/__/9_lksj9x5lj8m9s299500nd00000gn/T/pip-build-3sjnty/pyobjc-framework-CoreLocation` and when I tried to install appkit I got: Building PyGObject using distutils is only supported on windows. * * To build PyGObject in a supported way, read the INSTALL file. Do you know how to solve it? – omerhay95 Mar 01 '16 at 23:43