Traceback (most recent call last):
File "/usr/bin/selfspy", line 19, in <module>
from activity_store import ActivityStore
File "/private/var/lib/selfspy/activity_store.py", line 9, in <module>
import sniff_cocoa
File "/private/var/lib/selfspy/sniff_cocoa.py", line 1, in <module>
from Foundation import NSObject, NSLog
ImportError: No module named Foundation
I think Foundation provided by pyobjc. I suppose it's possibly you don't have a suitable version installed in site-packages, in which case you might try running the following command globally (i.e. outside the virtual environment):