简体   繁体   English

从GitHub中的特定分支安装。 我需要指定鸡蛋吗?

[英]Installing from a specific branch in GitHub. Do I need to specify egg?

I want to install the 2.3 branch of PyMC . 我想安装PyMC2.3分支

I have tried with: 我尝试过:

pip install -e git+git:://github.com/pymc-devs/pymc@2.3

and

pip install git+git:://github.com/pymc-devs/pymc@2.3

without luck. 没有运气。 Do I need to specify egg information? 我需要指定egg信息吗? If so why? 如果是这样的话?

You have too many colons in your URL: 您的网址中有太多冒号:

git+git:://github.com/pymc-devs/pymc@2.3
#  ----^

Just one colon is required: 只需要一个冒号:

pip install git+git://github.com/pymc-devs/pymc@2.3

or, in editable mode: 或者,在可编辑模式下:

pip install -e git+git://github.com/pymc-devs/pymc@2.3

Provided you have a Fortran compiler installed that Just Works. 如果您安装了Just Works的Fortran编译器。

The #egg=<projectname> part is optional and only used to test for dependencies before downloading. #egg=<projectname>部分是可选的,仅用于在下载之前测试依赖项。 It lets pip test if the package is already installed without needing to clone the whole repository. 如果已安装软件包,则允许pip测试,而无需克隆整个存储库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM