Autokeras installation with Anaconda

I have problems with installing Autokeras with Anaconda.

  • I downgraded python to 3.6
  • I installed pytorch and downgraded to version 0.4.1
  • I downgraded numpy to 1.14.5
  • I installed visual studio C++ build tool

But now I get the error that tensorflow will require max numpy version 1.14.5. but autokeras will upgrade numpy to 1.15.4 and it failed to build the wheel for lws

After every step ther was an error. Is there a simple, straight forward way to install Autokeras on Annaconda (Win)?

Thanks for your help

2 Answers

I have Windows 10, Anaconda 2019.10 and Python 3.7.5. In my case, I get the error ERROR: No matching distribution found for torch==1.0.1.post2 (from autokeras) on Windows 10 when trying to pip install autokeras as indicated by the official documentation.

Then I try to get the source code from and run python setup.py install. It successfully installs autokeras for me.

I had the same issues, using Windows 10 Pro. I installed VMware Workstation 15 Player, installed lubuntu as the guest OS, installed anaconda onto that, created a conda virtual environment, and was able to install autokeras as per . The autokeras installation gave a numpy version error, but seems to work. This might not be the answer you are looking for.

Another answer you might not be looking for is to use Docker, as per . Once I'd changed "$(pwd)":/app to "$(pwd):/app" in the example, this also seems to work.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like