【问题标题】:Install library / package in python在python中安装库/包
【发布时间】:2016-08-09 14:31:18
【问题描述】:

我想安装 python bayesian_changepoint_detection,但找不到安装说明:

https://github.com/hildensia/bayesian_changepoint_detection

我试过了

conda install bayesian_changepoint_detection

pip install bayesian_changepoint_detection

但它没有用。你知道我应该如何安装它吗?我的操作系统是 Ububntu 14.04 LTS。谢谢。

【问题讨论】:

    标签: python linux package installation


    【解决方案1】:

    你需要使用来自 Github 的安装::

    pip install git+git@github.com:hildensia/bayesian_changepoint_detection.git
    

    pip install git+https://github.com/hildensia/bayesian_changepoint_detection.git
    

    【讨论】:

      【解决方案2】:

      在 Github 中查看包的内容,我看到了setup.py,这意味着,这个模块应该从终端安装(在你下载包之后),如下所示:

      python setup.py install
      

      【讨论】:

        猜你喜欢
        • 2011-02-06
        • 2016-04-20
        • 2016-08-20
        • 2011-03-10
        • 2013-08-02
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多