When I try to install TensorFlow through pip, I get the following warning which I want to get rid of.
export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2-none-any.whl
sudo pip install --upgrade TF_BINARY_URL
The warning message
The directory '/Users/nn/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/nn/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting TF_BINARY_URL
Could not find a version that satisfies the requirement TF_BINARY_URL (from versions: )
No matching distribution found for TF_BINARY_URL
should I give all permissions to the Library/Caches/pip directory?