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

[Bug]: Introducing Time Series Requires Additional Module Dependencies #30

Open
1 of 2 tasks
ZenithClown opened this issue Aug 26, 2024 · 5 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@ZenithClown
Copy link
Member

ZenithClown commented Aug 26, 2024

Contact Details (optional)

No response

What happened?

Issue is raised because time series uses the following additional packages:

statsmodels==0.14.2

Related Issue:

Python Version

3.9 (default)

What type of operating system are you using?

Windows 11

Relevant System Configuration

No response

Relevant log output

Running Sphinx v7.1.2

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/envs/latest/lib/python3.10/site-packages/sphinx/config.py", line 356, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/docs/conf.py", line 16, in <module>
    import pandaswizard as pdw
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/__init__.py", line 31, in <module>
    from pandaswizard import timeseries
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/timeseries/__init__.py", line 28, in <module>
    from pandaswizard.timeseries.stationarity import *
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/timeseries/stationarity.py", line 11, in <module>
    from statsmodels.tsa.stattools import kpss # kpss test
ModuleNotFoundError: No module named 'statsmodels'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/envs/latest/lib/python3.10/site-packages/sphinx/cmd/build.py", line 285, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/envs/latest/lib/python3.10/site-packages/sphinx/application.py", line 207, in __init__
    self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/envs/latest/lib/python3.10/site-packages/sphinx/config.py", line 179, in read
    namespace = eval_config_file(filename, tags)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/envs/latest/lib/python3.10/site-packages/sphinx/config.py", line 369, in eval_config_file
    raise ConfigError(msg % traceback.format_exc()) from exc
sphinx.errors.ConfigError: There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/envs/latest/lib/python3.10/site-packages/sphinx/config.py", line 356, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/docs/conf.py", line 16, in <module>
    import pandaswizard as pdw
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/__init__.py", line 31, in <module>
    from pandaswizard import timeseries
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/timeseries/__init__.py", line 28, in <module>
    from pandaswizard.timeseries.stationarity import *
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/timeseries/stationarity.py", line 11, in <module>
    from statsmodels.tsa.stattools import kpss # kpss test
ModuleNotFoundError: No module named 'statsmodels'


Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/envs/latest/lib/python3.10/site-packages/sphinx/config.py", line 356, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/docs/conf.py", line 16, in <module>
    import pandaswizard as pdw
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/__init__.py", line 31, in <module>
    from pandaswizard import timeseries
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/timeseries/__init__.py", line 28, in <module>
    from pandaswizard.timeseries.stationarity import *
  File "/home/docs/checkouts/readthedocs.org/user_builds/pandas-wizard/checkouts/latest/pandaswizard/timeseries/stationarity.py", line 11, in <module>
    from statsmodels.tsa.stattools import kpss # kpss test
ModuleNotFoundError: No module named 'statsmodels'
Command time: 1s Return: 2

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ZenithClown ZenithClown added the bug Something isn't working label Aug 26, 2024
@ZenithClown
Copy link
Member Author

@qlqw233 @llowvxe @pilot5657 please follow contributors' guideline, and do not spam repository or will be blocked w/o further warning.

@ZenithClown ZenithClown added this to the Release v2.0.0 milestone Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants
@ZenithClown and others