[Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

Glyph Lefkowitz glyph at twistedmatrix.com
Tue Sep 13 18:28:19 EDT 2016


> On Sep 13, 2016, at 3:05 PM, Andrew Jaffe <a.h.jaffe at gmail.com> wrote:
> 
> But this is the framework (non-apple!) build!…

"framework build" refers to the way that Python is built.  Apple's python, Python.org's python, and Homebrew's python are all framework builds.  So, to be clear: this is python.org python?

> And, again: why isn’t everyone seeing this all the time? (And why didn’t I see it before?)

There's probably a .pth file somewhere that is stuffing Extras on your sys.path.  easy_install (especially older versions) is notorious for creating such things in ways that are hard to inspect for.  My usual recommendation at this point is to blow away _everything_ in /Library/Python, ~/Library/Python, ~/.local/lib/python*, and /Library/Frameworks/Python.framework and then reinstall from scratch.  (Thanks to SIP you don't need to blow away anything in /System anymore; hooray!)

-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20160913/3a644910/attachment-0001.html>


More information about the Pythonmac-SIG mailing list