You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to import LevelShiftAD but it seems there are some import problems within this module. This is what I get when I try to import it
10 from scipy import linalg, fft as sp_fft
11 from scipy.fft._helper import _init_nd_shape_and_axes
---> 12 from scipy._lib._util import prod as _prod
13 import numpy as np
14 from scipy.special import lambertw
ImportError: cannot import name 'prod'
I am running Python 3.6.9 on a virtual environment. Any clue of how I could fix it? I've already tried it by downgrading scipy to 1.2 and 1.3.
Thanks!
The text was updated successfully, but these errors were encountered:
This does not appear to be an issue with adtk because that import is not part of the current adtk.
There are is only one scipy import in the current v0.6.2, master and development branches, I have not checked older releases.
If your are running on an older release just try updating.
You can confirm that you can load adtk by running the following single import in your virtualenv:
from adtk.detector import LevelShiftAD
You can verify your environment as far as scipy is concerned as well:
from scipy._lib._util import prod as _prod
If you run both of those individually in a new Python instance in your virtualenv I think you may find that adtk works and scipy does not.
The import snippet you pasted is probably from site-packages/scipy/signal/signaltools.py or similar.
Hey folks,
I am trying to import LevelShiftAD but it seems there are some import problems within this module. This is what I get when I try to import it
I am running Python 3.6.9 on a virtual environment. Any clue of how I could fix it? I've already tried it by downgrading scipy to 1.2 and 1.3.
Thanks!
The text was updated successfully, but these errors were encountered: