Autokeras: Autokeras installation fails

Created on 3 Aug 2018  Â·  15Comments  Â·  Source: keras-team/autokeras

pip install autokeras Collecting autokeras Using cached https://files.pythonhosted.org/packages/cf/3f/ef52a7654445180ac174b6c159e44261e4fa4161bb28973229845deeedee/autokeras-0.2.0.tar.gz Collecting torch==0.4.0 (from autokeras) Could not find a version that satisfies the requirement torch==0.4.0 (from autokeras) (from versions: 0.1.2, 0.1.2.post1) No matching distribution found for torch==0.4.0 (from autokeras)

Windows 10
Python 3.6.2

Most helpful comment

I just start from a fresh Python 3.6 install.
Just need to install PyTorch from their website recommandation
IE : For A python, windows, pip configuration :

pip3 install http://download.pytorch.org/whl/cu90/torch-0.4.1-cp36-cp36m-win_amd64.whl
pip3 install torchvision

then a simple

pip install autokeras

works fine

All 15 comments

Same problem here windows 10
python 3.6.2
is it an issue with torch on windows ?

I'm in the same trouble, so I'm looking for any workaround.
Example:
https://github.com/jhfjhfj1/autokeras/issues/44

I have forked the original library here https://github.com/hiteshn97/autokeras/
Clone it, then python setup.py install
Worked.

@hiteshn97 yes, this worked. I also managed to install it by simply installing torch by myself. Unfortunately it still seems to have problems. The examples aren't working.

Same for me. The working solution was:

  1. pip install pytorch (from their homepage)
  2. download autokeras from https://pypi.org/project/autokeras/0.2.1/#history
  3. unpack, edit setup.py and change from torch==0.4.0 to torch==0.4.1 (line 6) and pack back to tar.gz
  4. pip install autokeras-0.2.1.tar.gz

Thank you all for the help.
We haven't really tested on Windows, yet.
We will move to torch 0.4.1 in the next release.

I just start from a fresh Python 3.6 install.
Just need to install PyTorch from their website recommandation
IE : For A python, windows, pip configuration :

pip3 install http://download.pytorch.org/whl/cu90/torch-0.4.1-cp36-cp36m-win_amd64.whl
pip3 install torchvision

then a simple

pip install autokeras

works fine

The one suggested by @beepmaster worked for me. Thanks.

I just start from a fresh Python 3.6 install.
Just need to install PyTorch from their website recommandation
IE : For A python, windows, pip configuration :

pip3 install http://download.pytorch.org/whl/cu90/torch-0.4.1-cp36-cp36m-win_amd64.whl
pip3 install torchvision

then a simple

pip install autokeras

works fine

Error :
torch-0.4.1-cp36-cp36m-win_amd64.whl is not supported wheel on this platform

_Please help_

Did you use the pytorch link generator ? Did you try a pip installation ? If so, what is your Python version ?
Did you check your Python environment and pip ?

Actually I right now figured out that new version of python 3.7 is
installed with upgrade in my anaconda upgrade which j didn't knew, so I
downgraded it to 3.6 and it works fine now
But thanks for the help.

On Sun, Dec 16, 2018, 1:11 AM beepmaster notifications@github.com wrote:

Did you use the pytorch link generator ? Did you try a pip installation ?
If so, what is your Python version ?
Did you check your Python environment and pip ?

—
You are receiving this because you commented.

Reply to this email directly, view it on GitHub
https://github.com/jhfjhfj1/autokeras/issues/41#issuecomment-447592946,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL0XmY-WFVAIeUiNsewYCEtwCVwH_6Gxks5u5VBvgaJpZM4Vumb8
.

>

Regards,
Hemang Joshi

I'm have windows 10 and used python 3.6 in an Anaconda environment.

  1. pip install torchvision=0.2.1
  2. pip install numpy==1.14.5
  3. pip install keras
  4. pip install scikit-learn==0.19.1
  5. pip install tensorflow
  6. pip install autokeras

This worked for me!

Command "pip install autokeras --ignore-installed" successfully worked.
Thanks!

Do you have a setup.py for Windows? I always got into:
ERROR: Could not find a version that satisfies the requirement torch>=1.0.1.post2 (from autokeras) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch>=1.0.1.post2 (from autokeras)
And torch v 1.0.1.post2 is not for Windows.

However you tried to fix this before, it's broken again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

takeofuture picture takeofuture  Â·  3Comments

mark-watson picture mark-watson  Â·  5Comments

kmbmjn picture kmbmjn  Â·  6Comments

max1563 picture max1563  Â·  4Comments

touching-foots-huskie picture touching-foots-huskie  Â·  4Comments