Pypi 模块的模块导入错误

Module Import Error for Pypi module

我正在尝试将 pypi 模块 (thinkx 1.1.2) 导入 spyder。它安装在 anaconda 上并显示在 conda 列表中。我的 python 路径文件夹是我的 anaconda 文件夹。当我尝试将 thinkx 导入 spyder 时,我得到: 导入thinkx 追溯(最近一次通话最后一次):

文件“”,第 1 行,位于 导入 thinkx

ImportError: 没有名为 'thinkx'

的模块

根据 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