AttributeError: 'module' object has no attribute 'anomaly_detector'
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 217
- PR merge metrics
- No merged PRs in 30d
Description
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' `
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported Python 2.7 installation and import sequence using `pip install luminol`, `import luminol`, and `luminol.anomaly_detector.AnomalyDetector(ts)`. Inspect how the installed package exposes `anomaly_detector`; done means the documented import and detector construction no longer raise this AttributeError, with a regression test if the project’s test layout supports one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100