在python中安装库/包

2024-04-23 23:51:22 发布

您现在位置:Python中文网/ 问答频道 /正文

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

https://github.com/hildensia/bayesian_changepoint_detection

我试过了

conda install bayesian_changepoint_detection

以及

^{pr2}$

但没用。你知道我该怎么安装吗?我的操作系统是Ubuntu 14.04 LTS。谢谢。在


Tags: installhttpsgithubcomubuntubayesiancondadetection
2条回答

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

python setup.py install

您需要使用从Github安装::

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

或者

^{pr2}$

相关问题 更多 >