Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still unable to use MSTL #2

Closed
virsto opened this issue Jun 28, 2022 · 4 comments
Closed

Still unable to use MSTL #2

virsto opened this issue Jun 28, 2022 · 4 comments

Comments

@virsto
Copy link

virsto commented Jun 28, 2022

Thanks KishManani for your prompt reply :-)

When will MSTL be available in Statsmodels? Here is what I have installed as per your requirements.txt:

jupyterlab = 3.4.3
matplotlib = 3.5.2
numpy = 1.23.0
pandas = 1.4.0
seaborn = 0.11.2

Not sure how to access/use the following:

git+https://github.com/statsmodels/statsmodels.git@74836e9cf2198ac7a930146405da7239c0823a9b#egg=statsmodels

I did find your MSTL code

How can I install your MSTL code to execute without a virtual environment and Jupyter? Or, how can I install the latest Statsmodels code that you mentioned with your MSTL?

As you can probably tell by now, I am not that good with Git :-(

Please don't close this issue yet.

@KishManani
Copy link
Owner

Hi virsto! The best way to reproduce the results in the notebook would be to reproduce the environment that I've specified in the requirements.txt file and following the instructions in the README and running:

pip install -r requirements.txt

Alternatively, you might find it simpler to pip install the latest version of Statsmodels directly from GitHub:

pip install git+https://github.com/statsmodels/statsmodels.git

Let me know if that helps!

@virsto
Copy link
Author

virsto commented Jun 28, 2022

C:\python39>python -m pip install git+https://github.com/statsmodels/statsmodels.git
Collecting git+https://github.com/statsmodels/statsmodels.git
Cloning https://github.com/statsmodels/statsmodels.git to c:\users\vs\appdata\local\temp\pip-req-build-53smj16r
ERROR: Error [WinError 2] The system cannot find the file specified while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH

i have git and use the git console -- why does 'git' need to be in the path?

@virsto
Copy link
Author

virsto commented Jun 28, 2022

OK! Finally I see how to move forward on this issue., KishManani
I actually did not have git installed. I have now installed it.

And just now finished the installation of Statsmodels 0.13.2 (from git)
And the following

from statsmodels.tsa.seasonal import MSTL

executes correctly! Thank you for your patience KM :-)

@KishManani
Copy link
Owner

Great to hear it works now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants