

sudo rm -rf /Library/Frameworks/amework/Versions/2.7. Open your terminal and paste the below commands. If you’ve installed any third party python framework, you can follow the below steps.
UNINSTALL PYTHON 2.7 MAC 10.12 MAC OS X
OSError: Operation not permitted: '/var/folders/sv/6_spg0qj6kl9702fd0m1vwm00000gn/T/pip-p9mJ_1-uninstall/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7. Mac OS X 10.8 comes with Python 2.7 pre-installed by Apple. If you try to uninstall the pre-installed Python v2.7 or above, it may break your operating system. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.įile "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in mainįile "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in runįile "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 778, in installįile "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 754, in uninstallįile "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in removeįile "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/_init_.py", line 267, in renamesįile "/System/Library/Frameworks/amework/Versions/2.7/lib/python2.7/shutil.py", line 302, in moveįile "/System/Library/Frameworks/amework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2įile "/System/Library/Frameworks/amework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat My self installed 2.7.9 is in /usr/local/bin/python2.7 and many other files in other directories under /usr/local. make altinstall is because I don't want to overwrite the default Python 2.7.6. If you are running the script using a local Python environment.

Python 3.4 and 3.6 have this feature built-in, as seen from here from the official Python documentation. I installed Python 2.7.9 on Ubuntu 14.04 by compiling its source, by. macOS 10.12.1 or higher version Python 2.7 or higher version.

Installing collected packages: six, html5lib, bleach, werkzeug, markdown, backports.weakref, wheel, numpy, funcsigs, pbr, mock, protobuf, tensorflowĭEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. Python 2.7 does not incorporate virtual environments by default, however, there is a module to handle this called Virtualenv. Requirement already satisfied: setuptools in /System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python (from protobuf>=3.2.0->tensorflow)
