我无法联系pygame
,当我尝试安装pygame
时,我收到了权限错误
$ brew install pygame
==> Installing pygame from homebrew/homebrew-python
Error: You must `brew link sdl' before pygame can be installed
$ brew link sdl
Linking /usr/local/Cellar/sdl/1.2.15...
Error: Could not symlink share/man/man3/SDLKey.3
/usr/local/share/man/man3 is not writable.
从这个错误信息中我不清楚我应该用什么符号链接?
答案 0 :(得分:1)
您应该使用sudo chown -R $(whoami) /usr/local/share
将这些路径的所有权归还给您的用户帐户。
答案 1 :(得分:0)
https://www.youtube.com/watch?v=c_TzqzKZpMw这就是我的表现。它起初很混乱