如何在Anaconda中使用特定的python模块?

时间:2016-03-28 20:17:32

标签: python

我没有很多编程经验,所以请尽量保持相对noob友好的答案! :)基本上,我有一个Python ...库,我猜?还是模块?我需要通过Anaconda在Spyder中运行。这似乎是一个非常模糊的模块,叫做PySPM,用于分析扫描探针显微镜数据,这是我从我的实验室与我的实验室合作过来的。当我尝试运行使用此模块的软件时,会出现此错误:

    ImportError: No module named 'PySPM.io'

触发此操作的代码本身如下所示:

    from os import path
    from PySPM.io.Translators.Utils import uiGetFile
    from PySPM.io.Translators.BEPSndfTranslator import BEPSndfTranslator
    from PySPM.io.Translators.BEodfTranslator import BEodfTranslator
    from PySPM.analysis.BESHOFitter import BESHOFitter

from PySPM.io.Translators.Utils import uiGetFile的第一行是触发错误的原因。我真的在这里摸不着头脑。发生了什么,我该如何解决?

1 个答案:

答案 0 :(得分:0)

PycroscopyPySPM的(彻底)重组版本。

@Martensite试试:

$ pip install pycroscopy