Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)
Andrew Jaffe <[email protected]> Sun, 11 Sep 2016 23:58:24 +0100
| Newsgroups | gmane.comp.python.pyobjc.devel,gmane.comp.python.apple |
|---|---|
| Message-ID | <[email protected]> |
On 11/09/2016 20:57, Glyph Lefkowitz wrote: > >> On Sep 11, 2016, at 3:12 AM, Andrew Jaffe <[email protected] >> <mailto:[email protected]>> wrote: >> >> If I do the usual "pip --upgrade" for these, it fails, seemingly >> because of permissions (Apologies, but I don't have access to the >> messages anymore): it is clearly trying to delete these versions which >> seem to live in >> /System/Library/Frameworks/Python.framework/Versions/2.7/. This fails, >> of course, due to permissions (and system integrity protection). > > This is expected, and desired, even. Don't install packages into your > system Python. Make a virtualenv and install pyobjc there, or do a `pip > install --user`. That should work fine. Hi, sorry if I wasn't clear -- this is a python.org install, and the pip I'm running comes from that. It shouldn't try to change the system-installed packages; it never has in the past, and that's why this behavior seems strange. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot