tods icon indicating copy to clipboard operation
tods copied to clipboard

ModuleNotFoundError: No module named 'axolotl.backend'

Open facefff opened this issue 5 years ago • 4 comments

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!

facefff avatar Dec 11 '20 08:12 facefff

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.

lhenry15 avatar Dec 11 '20 17:12 lhenry15

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 avatar Dec 13 '20 06:12 facefff

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"

facefff avatar Dec 13 '20 07:12 facefff

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

guanchuwang avatar Dec 28 '20 02:12 guanchuwang