datamllab / tods

TODS: An Automated Time-series Outlier Detection System
http://tods-doc.github.io
Apache License 2.0
1.47k stars 193 forks source link

ModuleNotFoundError: No module named 'axolotl.backend' #11

Open facefff opened 3 years ago

facefff commented 3 years ago

When I try to run tods-master\examples\run_search.py this error occurred. Even although I installed axolotl==0.0.1 by pip install, axolotl.backend cannot be found. Could you please help me solve this problem? THX!

lhenry15 commented 3 years ago

Hi, Could you provide more details about the installation or the error message? Since the current PyPI version has some unsolved issue, we are now only able to be installed by the following steps:

  1. git clone https://github.com/datamllab/tods
  2. cd tods
  3. pip install -e . Axolotl will be installed automatically in the steps above. There should be no need to install it manually. Thank you.
facefff commented 3 years ago

Thanks for reply, I tried to git clone the subject but the download speed is too slow. So I download the zipped code and unzip it to my workspace. Then I pip install -e. and failed because of the error "Failed to uninstall PyYAML" , Then I record the packages that need to be installed and manually install them. After I installed all of them, I tried pip install -e. It reported that all requirements were satisfied. Then I run the code and "ModuleNotFoundError" occurred.

facefff commented 3 years ago

By the way, I installed d3m by clone the subject and pip install -e. Directly pip install d3m will report the error "failed to build d3m"

guanchuwang commented 3 years ago

@facefff Hi, I think only pip install -e. is not enough, you should also run python setup.py install.