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

Glyph Lefkowitz <[email protected]> Tue, 13 Sep 2016 15:28:16 -0700
Newsgroups gmane.comp.python.pyobjc.devel,gmane.comp.python.apple
Message-ID <[email protected]>
> On Sep 13, 2016, at 3:05 PM, Andrew Jaffe <[email protected]> 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

------------------------------------------------------------------------------

_______________________________________________
Pyobjc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev