我使用macOS Mojava 10.14.4(18E226)。我通过终端命令pip install virtualenvwrapper
每次安装时,它都会显示
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-install-00eh5kcc/virtualenvwrapper/
无论我是否进行sudo,安装仍然会失败。我已经将python更新为
请告诉我,
下载此文件后,如何设置该文件夹的文件许可权,以便我可以成功安装virtualenvwrapper?
The directory '/Users/ABC/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/ABC/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.