![](/img/trans.png)
[英]Not able to import tensorflow on anaconda with python 3.6 version on 64bit system with 64bit anaconda
[英]How to install pygame in Ubuntu 14.04 64bit with Anaconda Python 3.6
我想在帶有Anaconda Python 3.6環境的Ubuntu 14.04中安裝'pygame'庫。
有人可以這樣做嗎?
我嘗試了以下方法:
conda install -c cogsci pygame
conda install -c tlatorre pygame=1.9.2
sudo apt-get install pygame
http://www.pygame.org/wiki/GettingStarted
我發現此鏈接非常好。
Pygame安裝 Pygame需要Python; 如果還沒有的話,可以從python.org下載。 使用python 3.6.1或更高版本,因為它對新手友好得多,並且運行速度更快。
請訪問此處下載pygame: http ://www.pygame.org/download.shtml
安裝pygame的最佳方法是使用pip工具 (這是python用於安裝軟件包的工具)。 請注意,這是python的最新版本。 我們使用--user
標志告訴它安裝到主目錄中,而不是全局。
python3 -m pip install pygame --user
要查看它是否有效,請運行包含的示例之一:
python3 -m pygame.examples.aliens
如果可行,您就可以開始了! 繼續學習教程。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.