windows anaconda 安装 pomegranate

  1. 源码安装,github 搜索 pomegranate: https://github.com/jmschrei/pomegranate
    在cd 到 setup.py所在目录,执行 python setup.py install(卸载时执行uninstall)

    在此可以了解下python源码安装的简单介绍:https://www.jianshu.com/p/8fdbe14f2d3c
    ubuntu系统安装:https://blog.csdn.net/jxm_csdn/article/details/52935390?utm_source=blogxgwz7

    安装后,我在anaconda prompt 执行 :

    >>> import pomegranate
    

    可以执行成功,但在系统的 cmd 环境下不行,报错:
    ImportError: DLL load failed: 找不到指定的模块
    之后重新安装anaconda,重新配置环境变量就好(可能重装不是必须,只需配好环境变量),
    anaconda 环境变量

  2. 使用按照上面的github地址,进入 docs/install.rst,查看安装步骤,即直接执行:pip install pomegranate,可是终端显示错误

  3. 使用anaconda自带的包安装,https://anaconda.org/bioconda/pomegranate
    在anaconda prompt 输入conda install -c bioconda pomegranate (推荐)

猜你喜欢

转载自blog.csdn.net/qq_36974075/article/details/84829506