6 ms·
calendar is a builtin as well. It appears the OSX specific modules are located (on latest Mavericks) in /System/Library/Frameworks/Python.framework/Versions/2.
by jschneier00 12y ago
calendar is a builtin as well.
It appears the OSX specific modules are located (on latest Mavericks) in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
So you need to add that directory (for xattr) as well as that directory + PyObjC (for Foundation) to your PYTHONPATH
- crag 12y agoStill get the error. Added PYTHONPATH to my bash_profile. After getting the error again, I looked at that location - it exists but the mods in question (Foundation and Calendar) are not there. I'm on OSX 10.9.4. It doesn't really matter enough to waste time on though. Thanks for your help. I just want to point out that in the docs "self contained" doesn't mean the user has to go hunting for mods.