[英]pulling a particular statsmodel to python3 to get statsmodels.tsa.johansen
I have installed anaconda python3. 我已经安装了蟒蛇python3。 I need a particular fork of statsmodel in order to get the procedure for getting the cointegration vectors using Johansen method. 我需要一个特定的叉子 ,以获得程序获取使用约翰森法协整向量statsmodel的。 I have a couple of questions: 我有一些问题:
How do I pull this fork and integrate it into my existing python? 我该如何拉叉并将其集成到我现有的python中? Is there a conda or pip command that will do the trick? 有conda或pip命令可以解决问题吗?
If I do pull the fork, should I uninstall the current version first? 如果确实要拨叉,是否应该先卸载当前版本? I have done this sort of thing in the past and I usually run into a cascade of requirements that sometimes breaks things. 我过去做过这类事情,通常会遇到一连串的需求,有时会破坏事情。
You can use conda-build to create a package from your fork and then install it on the environments you want. 您可以使用conda-build从您的fork创建一个程序包,然后将其安装在所需的环境中。
The github.com/conda/conda-recipes repository has lots of recipes already só you can create yours. github.com/conda/conda-recipes存储库已经有很多食谱,您可以创建自己的食谱。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.