question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'sktime.transformers.series'

See original GitHub issue

Describe the bug

I am running the 01_forecasting.ipynb notebook.

To Reproduce

from sktime.transformers.series.detrend import Deseasonalizer, Detrender

Expected behavior

Import should succeed

Additional context

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-79c87a42ec01> in <module>
     22 from sktime.forecasting.trend import PolynomialTrendForecaster
     23 from sktime.performance_metrics.forecasting import sMAPE, smape_loss
---> 24 from sktime.transformers.series.detrend import Deseasonalizer, Detrender
     25 from sktime.utils.plotting import plot_series
     26 

ModuleNotFoundError: No module named 'sktime.transformers.series'

Versions

Name: sktime Version: 0.4.3

Source: python3-defaults Version: 3.8.2-0ubuntu2 System: python: 3.8.6 | packaged by conda-forge | (default, Oct 7 2020, 19:08:05) [GCC 7.5.0] executable: /opt/conda/bin/python machine: Linux-5.4.0-54-generic-x86_64-with-glibc2.10

Python dependencies: pip: 20.2.4 setuptools: 49.6.0.post20201009 sklearn: 0.23.2 numpy: 1.19.4 scipy: 1.5.4 Cython: 0.29.21 pandas: 1.1.4 matplotlib: 3.3.3 joblib: 0.17.0 numba: 0.49.1 pmdarima: 1.7.1 tsfresh: 0.17.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
summa-codecommented, Nov 29, 2020

Never mind, i forgot to use -b. But again should the examples be in sync with master branch ? That way it is easy for folks who want to do a quick learning on this framework. Looks great so far.

0reactions
mloningcommented, Dec 2, 2020

Yes, this is related to a statsmodels bug that was introduced in their previous version and only fixed in their last version. We’re still waiting for pmdarima to make a new release, see #512

But it’s just a warning, so most things should still work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'sktime.transformers'
I ran into a similar problem. They have moved the actual location of the module in the library. Trying this path should fix...
Read more >
No module named 'sktime.transformers.panel' #481 - GitHub
When I try to follow the "Univariate time series classification ... ModuleNotFoundError: No module named 'sktime.transformers.series' #508.
Read more >
Installation — sktime documentation
Building binary packages and installers. sktime build requirements. Setting up a development environment. Troubleshooting. Module not found. ImportError.
Read more >
sktime - PyPI
sktime is a library for time series analysis in Python. It provides a unified interface for multiple time series learning tasks.
Read more >
modulenotfounderror: no module named 'transformers' ( Solved )
modulenotfounderror : no module named 'transformers' comes when you have not installed it on your system. Know how to solve this error.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found