简体   繁体   English

将特定的statsmodel拉到python3以获得statsmodels.tsa.johansen

[英]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: 我有一些问题:

  1. 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命令可以解决问题吗?

  2. 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.

相关问题 python statsmodels.tsa.seasonal中的值错误 - value error in python statsmodels.tsa.seasonal R forecast.holt vs Python statsmodels.tsa.holtwinters - R forecast.holt vs Python statsmodels.tsa.holtwinters python statsmodels.tsa.stattools.pacf与蒙面数组? - python statsmodels.tsa.stattools.pacf with masked array? statsmodels.api.tsa.get_forcast 的参数是什么? - What are the parameter of statsmodels.api.tsa.get_forcast? [Statsmodels]:如何获取statsmodel以返回OLS对象的pvalue? - [Statsmodels]: How can I get statsmodel to return the pvalue of an OLS object? 使用当前实际GNP / GDP数据的python statsmodel.tsa.MarkovAutoregression - Python statsmodel.tsa.MarkovAutoregression using current real GNP/GDP data 如何在 python 中获取 statsmodels.tsa.holtwinters-ExponentialSmoothing 模型的置信区间? - How to take confidence interval of statsmodels.tsa.holtwinters-ExponentialSmoothing Models in python? Python - Statsmodels.tsa.seasonal_decompose - 缺少数据帧头部和尾部的值 - Python - Statsmodels.tsa.seasonal_decompose - missing values in head and tail of dataframe Statsmodel ImportError 中的 Python 3.9:无法从“statsmodels.compat.python”导入名称“Literal” - Python 3.9 in Statsmodel ImportError: cannot import name 'Literal' from 'statsmodels.compat.python' python中的Johansen协整检验 - Johansen cointegration test in python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM