2016-09-07 182 views
1

我試圖將pypi模塊(thinkx 1.1.2)導入spyder。它安裝在anaconda上並顯示在conda列表上。我的Python路徑文件夾是我的anaconda文件夾。當我試圖導入thinkx到Spyder的獲得: 進口thinkx 回溯(最近通話最後一個):Pypi模塊的模塊導入錯誤

文件 「」,1號線,在 進口thinkx

導入錯誤:沒有名爲 'thinkx' 模塊

回答

1

根據module READMEthinkx不公開包名爲thinkx的包。

It provides the following modules:

  • thinkbayes : Code for Think Bayes.
  • thinkstats2 : Code for Think Stats, 2nd edition
  • thinkbayes2 : Code for Think Bayes, 2nd edition, not yet published.
  • thinkdsp : Code for Think DSP
  • thinkplot : Plotting code used in all of the books, mostly wrapper functions for matplotlib.pyplot

嘗試:

import thinkbayes