2016-09-07 186 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