Я недавно установил homebrew на свой Mac, следуя инструкциям, которые кто-то сделал для того, чтобы запускать определенные вещи, которых не было раньше.Я также установил и обновил «pip».У меня проблемы с командой:
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.
Спасибо!