MAC下Pygame怎么安装
版版你好,想在MAC里安装Pygame 该如何操作,需要细化到下载链接,具体操作。python已安装3.8.8版本。也百度过,发现各路大神支的招千奇百怪。小白一个实在看得云里雾里。
急盼回复!感谢!感谢! 打开 terminal,也就是终端,输入:
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pygame Daniel_Zhang 发表于 2021-5-1 01:50
打开 terminal,也就是终端,输入:
你好,谢谢回复,代码输入后,再怎么操作?Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3a/40/69eebf7145055f51cc90145e547da2b68c454b61ae5df6648fec6a259b2f/pygame-2.0.1-cp38-cp38-macosx_10_9_intel.whl (6.9 MB)
|████████████████████████████████| 6.9 MB 1.2 MB/s
Installing collected packages: pygame
Successfully installed pygame-2.0.1
WARNING: You are using pip version 20.2.3; however, version 21.1 is available.
You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -m pip install --upgrade pip' command.
perseuspan@PerseusdeiMac ~ % a seetv88 发表于 2021-5-4 20:28
你好,谢谢回复,代码输入后,再怎么操作?Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3a/ ...
就是让你更新一下 pip
先尝试:
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -m pip install --upgrade pip
如果 Time out 就尝试:
python3 -m pip install -i https://mirrors.aliyun.com/pypi/simple --upgrade pip Daniel_Zhang 发表于 2021-5-4 22:20
就是让你更新一下 pip
先尝试:
其实你已经安装好了 pygame
Successfully installed pygame-2.0.1
那个 warning 只是说 pip 有新版本
你好,我的通过这种方法安装不了,显示:
ERROR: Could not install packages due to an EnvironmentError: Permission denied: '/Library/Python/3.8'
Consider using the `--user` option or check the permissions.
请问我应该怎么做?
页:
[1]