autokeras: Autokeras installation fails
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
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 7
- Comments: 15 (1 by maintainers)
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
I have forked the original library here https://github.com/hiteshn97/autokeras/ Clone it, then python setup.py install Worked.
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.
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.
Command “pip install autokeras --ignore-installed” successfully worked. Thanks!