我最近擦了我的Mac并重新安装了OSX El Capitan公测版3.我安装了pip sudo easy_install pip并安装了virtualenv sudo pip install virtualenv并且没有任何问题.
现在,当我尝试时sudo pip install virtualenvwrapper,我得到以下内容:
Users-Air:~ User$ sudo pip install virtualenvwrapper
The directory '/Users/User/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/User/Library/Caches/pip/http' or its parent directory is not owned by the current user and the …Run Code Online (Sandbox Code Playgroud)