CounterfeitLlama / OSX-Keylogger

Python keylogger designed for Mac
9 stars 7 forks source link

No module named keycode #3

Open trzz06 opened 7 years ago

trzz06 commented 7 years ago

Hi @CounterfeitLlama,

OSX 10.11.6

When i'm trying to launch the command :

# python2.6 --version
Python 2.6.9

# I already did : pip install -U pyobjc

# python2.6 Keylogger2.py
Traceback (most recent call last):
  File "Keylogger2.py", line 24, in <module>
    import keycode
ImportError: No module named keycode

May you have you an idea ?

Thanks !

CounterfeitLlama commented 7 years ago

Hey @trzz06,

First off do you have Xcode downloaded, with the command line tools installed? If not, please download Apple's Xcode developer tool. Next open the Terminal app and run xcode-select --install. In order for pyobjc to install correctly, these must be on your computer.

Additionally, this link might help. I used this when figuring out how to create the project in the first place.

Hope this helps!

DoomTaper commented 7 years ago

@trzz06 works for me! :)