ageron / ageron/handson-ml2

Installing on windows

Open
#44 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
30k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

HI! Thank for a very nice book. When I try to install on a Win10 machine I get some errors when trying the requirements.txt..

a) jupyter notebook is missing. Needed to do `python3 -m pip install jupyter`

b) i need to change pip3 to pip and python3 to only python (I only have python 3.6.8, no 2.7)

c) tfx fails to install (Could not find a version that satisfies the requirement ml-metadata<0.15,>=0.14):

```
Collecting future
Using cached https://files.pythonhosted.org/packages/3f/bf/57733d44afd0cf67580658507bd11d3ec629612d5e0e432beb4b8f6fbb04/future-0.18.1.tar.gz
Collecting dill
Using cached https://files.pythonhosted.org/packages/c7/11/345f3173809cea7f1a193bfbf02403fff250a3360e0e118a1630985e547d/dill-0.3.1.1.tar.gz
Collecting tensorflow-metadata
Using cached https://files.pythonhosted.org/packages/4e/c2/e4ed82a725c9f8160a0ed73f0511773be9f76343def86f6f47121f0e8430/tensorflow_metadata-0.15.0-py2.py3-none-any.whl
Collecting psutil
Using cached https://files.pythonhosted.org/packages/86/91/f15a3aae2af13f008ed95e02292d1a2e84615ff42b7203357c1c0bbe0651/psutil-5.6.3-cp36-cp36m-win_amd64.whl
Requirement already satisfied, skipping upgrade: attrs in c:\users\kalle\venvs\my_env\lib\site-packages (from tensorflow-datasets==1.2.0->-r requirements.txt (line 52)) (19.3.0)
ERROR: Could not find a version that satisfies the requirement ml-metadata<0.15,>=0.14 (from tfx==0.14.0->-r requirements.txt (line 57)) (from versions: 0.12.0.dev0, 0.13.0.dev0, 0.13.1.dev0)
ERROR: No matching distribution found for ml-metadata<0.15,>=0.14 (from tfx==0.14.0->-r requirements.txt (line 57))

(my_env) C:\Users\Kalle\venvs\my_env\handson-ml2-master>
```

d) some other error (I am using TF 2.0.0 GPU) but some TF 1.14 error?)

```
Building wheel for promise (setup.py) ... done
Created wheel for promise: filename=promise-2.2.1-cp36-none-any.whl size=21294 sha256=27bd5f0ea45972456dae5e656e0a57938455f326249db262f323a750d2a77fe2
Stored in directory: C:\Users\Kalle\AppData\Local\pip\Cache\wheels\92\84\9f\75e2235effae0e1c5a5c0626a503e532bbffcb7e79e672b606
Building wheel for googleapis-common-protos (setup.py) ... done
Created wheel for googleapis-common-protos: filename=googleapis_common_protos-1.6.0-cp36-none-any.whl size=77586 sha256=e6806e2edee25b1590cdc111a6cc456ecb792bbed3473faf14f107885fe345b7
Stored in directory: C:\Users\Kalle\AppData\Local\pip\Cache\wheels\9e\3d\a2\1bec8bb7db80ab3216dbc33092bb7ccd0debfb8ba42b5668d5
Successfully built nltk opt-einsum gast absl-py future dill promise googleapis-common-protos
ERROR: tensorflow 1.14.0 has requirement tensorboard<1.15.0,>=1.14.0, but you'll have tensorboard 2.0.0 which is incompatible.
ERROR: tensorflow 1.14.0 has requirement tensorflow-estimator<1.15.0rc0,>=1.14.0rc0, but you'll have tensorflow-estimator 2.0.1 which is incompatible.
Installing collected packages: cycler, kiwisolver, numpy, pyparsing, matplotlib, pytz, pandas, scipy, scikit-learn, xgbo
```

Maybe you/someone have some ideas of what is wrong?
Best regards / Kalle Prorok, Umeå, Sweden (teacher with 166 students on our Deep Learnig course)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.