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

import pyrssa as prs not loading correctly. #1

Open
bginvestor opened this issue Nov 23, 2023 · 5 comments
Open

import pyrssa as prs not loading correctly. #1

bginvestor opened this issue Nov 23, 2023 · 5 comments

Comments

@bginvestor
Copy link

Successfully installed 1.0.10 as shown below, but "import pyrssa as prs" is not loading correctly.

image

However, I'm getting a missing file calc_v.rst. Actually, looks like a couple of folders is missing from the pyrssa folder. Please help. Thanks

image

image

@Fleyderer
Copy link
Owner

Hello, bginvestor! Thank you for sending issue, I will check doc files soon, maybe i didn't add them in config.

Btw, now you can use previous versions of pyrssa, 1.0.9 or 1.0.8, with almost the same functionality, and i will close issue right after finding a solution.

@Fleyderer
Copy link
Owner

I could reproduce this error on my device and fix it, sorry for problems, i didn't check package data properly.

You can uninstall pyrssa and install latest version again, I've published fix in 1.0.11. Please reply below if this solved your problem.

@bginvestor
Copy link
Author

bginvestor commented Nov 23, 2023

Hi Michael,

Thanks for the quick response. Greatly appreciated! I am running into one more issue.

You can see that I have 1.0.11 installed correctly.

image

However, using Python 3.12.0 w/ IDLE, I'm getting a unicodedecoderror. Do I need to run an older version? Looking forwarding to working w/ pyrssa. Thank you!

image

@Fleyderer
Copy link
Owner

Try to insert encoding="utf8" inside open(file_path) in docs.py line 20, like in this solution

This is well-known codec problem, I will fix it in further versions (didn't face this problem with Python 3.6+, looks a bit strange for me)

@bginvestor
Copy link
Author

Hi, yes, this fixes, and I'm now able to load "import pyrssa as prs". You can close this issue.

However, I have one followup question for the following line in example.ipynb.

ts_rfor = prs.rforecast(ts_ssa, groups={"Signal": range(1, 6)}, length = for_length)

This line executes but doesn't provide the data series w/ 'Signal' attribute; hence , it doesn't plot the forecast curve correctly. Is this due to a more recent version of Python? Thank you, and Happy Thanksgiving!!

image

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