Daniel E Platt added the comment:
platt@MacBook-Pro.local:/Users/platt $ pip install -U setuptools pip
Collecting setuptools
Downloading setuptools-36.7.2-py2.py3-none-any.whl (482kB)
100% || 491kB 2.6MB/s
Requirement already up-to-date: pip in
./Library/Python/2.7/lib/python/site-packages
Installing collected packages: setuptools
Found existing installation: setuptools 18.5
Uninstalling setuptools-18.5:
Exception:
Traceback (most recent call last):
File
"/Users/platt/Library/Python/2.7/lib/python/site-packages/pip/basecommand.py",
line 215, in main
status = self.run(options, args)
File
"/Users/platt/Library/Python/2.7/lib/python/site-packages/pip/commands/install.py",
line 342, in run
prefix=options.prefix_path,
File
"/Users/platt/Library/Python/2.7/lib/python/site-packages/pip/req/req_set.py",
line 778, in install
requirement.uninstall(auto_confirm=True)
File
"/Users/platt/Library/Python/2.7/lib/python/site-packages/pip/req/req_install.py",
line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File
"/Users/platt/Library/Python/2.7/lib/python/site-packages/pip/req/req_uninstall.py",
line 115, in remove
renames(path, new_path)
File
"/Users/platt/Library/Python/2.7/lib/python/site-packages/pip/utils/__init__.py",
line 267, in renames
shutil.move(old, new)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py",
line 299, in move
copytree(src, real_dst, symlinks=True)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py",
line 208, in copytree
raise Error, errors
Error:
[('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc',
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc',
"[Errno 1] Operation not permitted:
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc'"),
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py',
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py',
"[Errno 1] Operation not permitted:
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py'"),
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py',
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py',
"[Errno 1] Operation not permitted:
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py'"),
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc',
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc',
"[Errno 1] Operation not permitted:
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc'"),
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib',
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib',
"[Errno 1] Operation not permitted:
'/var/folders/68/lk7bsfq51hq3406jk8v83z88gn/T/pip-hvP8_p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'")]
--
resolution: third party -> wont fix
status: closed -> open
type: behavior -> crash
___
Python tracker
<https://bugs.python.org/issue32044>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com