I tried to upgrade tensorflow with pip install tensorflow --upgrade
.
During the uninstallation of the old version of setuptools
some error occurred:
PermissionError: [Errno 13] Permission denied: '/Users/<myName>/anaconda/lib/python3.5/site-packages/easy-install.pth'
and
FileNotFoundError: [Errno 2] No such file or directory: '/Users/<myName>/anaconda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg'
Now, when using pip
, I get the error that there is No module named 'pkg_resources'
.
I tried the solution in the thread No module named pkg_resources:
Using
curl https://bootstrap.pypa.io/ez_setup.py | python
again produced the following error (also when using sudo curl
):
error: [Errno 13] Permission denied: '/Users/<myName>/anaconda/lib/python3.5/site-packages/easy-install.pth'
Trying to reinstall setuptools
as was also suggested:
pip install --upgrade setuptools
results in the same No module named 'pkg_resources'
error message.
I am using MacOS 10.12.4