在網上查找到的不少命令會報錯,修改後如下:
一、安裝或更新pip:
在Powershell輸入:
cd D:\python37\Scripts
(自己依樣修改路徑)
easy_install-3.7.exe pip
如果提示更新,直接依樣畫葫蘆即可。
二、安裝pygame:
重新打開並在Powershell輸入:
python2 -m pip install -U pygame
python3 -m pip install -U pygame
在網上查找到的不少命令會報錯,修改後如下:
一、安裝或更新pip:
在Powershell輸入:
cd D:\python37\Scripts
(自己依樣修改路徑)
easy_install-3.7.exe pip
如果提示更新,直接依樣畫葫蘆即可。
二、安裝pygame:
重新打開並在Powershell輸入:
python2 -m pip install -U pygame
python3 -m pip install -U pygame