2014-01-30 100 views
2

我在Red Hat Enterprise Linux 6.5上安裝了新鮮的Python 3.3,包括Tkinter - python3.3 -m tkinter作品並展示對話。然而,當我運行pip3.3 install matplotlib,在可選後端依賴,它說:通過pip安裝時,如何告訴matplotlib如何找到tkinter?

 
Tkinter: no 
     * TKAgg requires Tkinter 

如何matplotlib確定Tkinter可用性,我怎麼可以給它一個暗示?

回答

-1

我建議你從你的發行版庫獲取matplotlib。對於安裝簡單的純Python包來說,Pip很好,但對於像matplotlib或numpy這樣的包來說並不是很方便,因爲它需要解決很多非Python依賴關係。你的軟件包管理器應該很好地爲你處理所有這些東西。

+0

我在這臺機器上沒有root權限,所以除非我安裝在virtualenv中,否則我會被python2.6卡住。我想用一個更新的Python版本。 – gerrit

相關問題