You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The directory 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.
#215
Open
bryanbeshore opened this issue
Nov 24, 2016
· 4 comments
I am receiving the following message when trying to install virtualenv via: sudo pip install virtualenv
Bryans-MacBook-Pro:/ BryanB$ sudo pip install virtualenv
The directory '/Users/BryanB/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/BryanB/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.
Tried sudo -H pip install virtualenv
Result Requirement already satisfied: virtualenv in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
I am unsure how to resolve this issue.
The text was updated successfully, but these errors were encountered:
Is it an issue? Virtualenv is installed in your framework Python site-packages directory. If your $PATH contains the bin directory of that installation, you should be able to run the virtualenv command now.
mkvirtualenv is a command provided by virtualenvwrapper, a set of helpers built on top of virtualenv. Either run pip install virtualenvwrapper (no need for sudo), or use “bare” virtualenv commands instead of mkvirtualenv.
This happens when someone installs a package via pip using sudo in a virtualenv.
You can update the permissions by using following commands as referred in link-
I am receiving the following message when trying to install virtualenv via: sudo pip install virtualenv
Tried
sudo -H pip install virtualenv
Result
Requirement already satisfied: virtualenv in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
I am unsure how to resolve this issue.
The text was updated successfully, but these errors were encountered: