Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autokeras installation fails #41

Closed
PiotrMi opened this issue Aug 3, 2018 · 15 comments · Fixed by #95
Closed

Autokeras installation fails #41

PiotrMi opened this issue Aug 3, 2018 · 15 comments · Fixed by #95

Comments

@PiotrMi
Copy link

PiotrMi commented Aug 3, 2018

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

@NicolasVidal
Copy link

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

@MenEnger
Copy link

MenEnger commented Aug 4, 2018

I'm in the same trouble, so I'm looking for any workaround.
Example:
#44

@hiteshn97
Copy link

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

@PiotrMi
Copy link
Author

PiotrMi commented Aug 4, 2018

@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.

@valinaga
Copy link

valinaga commented Aug 8, 2018

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

@haifeng-jin
Copy link
Collaborator

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.

@beepmaster
Copy link

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

@M-Aditya-Vamsi-Kiran
Copy link

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

@hemangjoshi37a
Copy link

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

@beepmaster
Copy link

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 ?

@hemangjoshi37a
Copy link

hemangjoshi37a commented Dec 15, 2018 via email

@eculiat
Copy link

eculiat commented Feb 12, 2019

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!

@shachi01
Copy link

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

@thomas-choi
Copy link

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.

@apacha
Copy link

apacha commented Oct 17, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.