【发布时间】:2018-06-10 09:00:38
【问题描述】:
我最近在我的 Mac 上安装了自制软件,同时遵循有人制作的本机运行某些以前无法运行的东西的指南。我还安装并更新了“点子”。我的命令有问题:
sudo pip install hg+http://bitbucket.org/pygame/pygame
我收到以下消息作为回报:
The directory '/Users/WilsonHuijsie/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/WilsonHuijsie/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 hg+http://bitbucket.org/pygame/pygame
Cloning hg http://bitbucket.org/pygame/pygame to /private/tmp/pip-req-build-6TUq7C
Error [Errno 2] No such file or directory while executing command hg clone --noupdate -q http://bitbucket.org/pygame/pygame /private/tmp/pip-req-build-6TUq7C Cannot find command 'hg' - do you have 'hg' installed and in your PATH?
我对我的电脑有完全的访问权限,所以我不知道第一部分是关于什么的,我认为最后一部分与“hg”的问题有关?如果有人可以提供帮助,将不胜感激。
另外请注意,虽然我在终端/自制命令方面没有经验,也不知道很多是什么意思/做什么,但我确实了解一般的编码,尤其是 python。
谢谢!
【问题讨论】: