[英]How do I install Pygame with pip in Python 3.4?
我試過像這樣的命令
pip install pygame
要么
pip install 'Pygame == 1.9.1release' --allow-external Pygame --allow- unverified Pygame
建議在其他線程,但和類似,但它們似乎不適合我。 請幫幫我。
我在Ubuntu中做到了這一點,它適用於Python 3.4:
根據文檔中的這個指南,我運行了一個顯然將pip
和setuptools
升級到最新版本的命令,但它是以超級用戶身份執行的。 它最終可能不是絕對必要的:
sudo pip install -U pip setuptools
然后,我也以超級用戶身份運行Pygame的install命令:
sudo pip install pygame
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.