Open suguleasa opened 7 years ago
Try:
from luminol import anomaly_detector
detector = anomaly_detector.AnomalyDetector(ts)
I tried
from luminol import anomaly_detector
I got
ImportError: No module named 'exp_avg_detector'
Running Windows with Python 3.5.2 | Anaconda 4.2.0
Sorry just saw elsewhere I might need to try Python 2.7 to fix
Yeah 2.7 works a charm in an Anaconda virtual environment
This should be resolved with #28
I have same problem. I tried to run it on Python 2.7 but didnt work. I tried on azure notebook didnt work. I tried on Python 3.6 didnt work. Everytime same issue:
AttributeError: 'module' object has no attribute 'anomaly_detector'
and i realized that when i wanted to install package it showed me deprecation.
Collecting luminol Downloading luminol-0.4-py2.py3-none-any.whl Requirement already satisfied: scipy in /home/nbuser/anaconda2_501/lib/python2.7/site-packages (from luminol) Requirement already satisfied: numpy in /home/nbuser/anaconda2_501/lib/python2.7/site-packages (from luminol) Collecting future==0.16.0 (from luminol) Downloading future-0.16.0.tar.gz (824kB) 100% |████████████████████████████████| 829kB 258kB/s eta 0:00:01 Building wheels for collected packages: future Running setup.py bdist_wheel for future ... done Stored in directory: /home/nbuser/.cache/pip/wheels/c2/50/7c/0d83b4baac4f63ff7a765bd16390d2ab43c93587fac9d6017a Successfully built future Installing collected packages: future, luminol Found existing installation: future 0.15.2 DEPRECATION: Uninstalling a distutils installed project (future) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. Uninstalling future-0.15.2: Successfully uninstalled future-0.15.2 Successfully installed future-0.16.0 luminol-0.4
well,I meet this issue too,python 2.7.13
/usr/local/python-2.7.13/bin/python
centos 6.5 64
I am running in Ubuntu with Python 2.7.
First I did:
pip install luminol
Then:import luminol
detector = luminol.anomaly_detector.AnomalyDetector(ts)
This returns:
AttributeError: 'module' object has no attribute 'anomaly_detector'