简体   繁体   中英

pulling a particular statsmodel to python3 to get statsmodels.tsa.johansen

I have installed anaconda python3. I need a particular fork of statsmodel in order to get the procedure for getting the cointegration vectors using Johansen method. I have a couple of questions:

  1. How do I pull this fork and integrate it into my existing python? Is there a conda or pip command that will do the trick?

  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.

The github.com/conda/conda-recipes repository has lots of recipes already só you can create yours.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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