From 501cc20728d8fa79688201a8bbac226e029ec6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Webdesign=20H=C3=B6hne?= Date: Fri, 7 Jul 2017 15:38:57 +0200 Subject: [PATCH] Update BuildDigitsWindows.md manually setting path variable, update of used sources and workaround if installation isn't working --- docs/BuildDigitsWindows.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/BuildDigitsWindows.md b/docs/BuildDigitsWindows.md index 3f33e6a31..1a0ee0173 100644 --- a/docs/BuildDigitsWindows.md +++ b/docs/BuildDigitsWindows.md @@ -23,7 +23,10 @@ To run DIGITS with DetectNet, please use NV-Caffe 0.15 or above on Ubuntu. ### Python2 Download and install Python 2.7.11 64bit from Python's official site (https://www.python.org/ftp/python/2.7.11/python-2.7.11.amd64.msi). -Please select Add Python Path during installation. +Please select Add Python Path during installation or set your path variable like this after installation: +``` +set PATH=C:\Python27;%PATH% +``` Download numpy, scipy, matplotlib, scikit-image, h5py from Unofficial Windows Binaries for Python Extension Packages webpage at (http://www.lfd.uci.edu/~gohlke/pythonlibs/). Remember to download correct version (2.7) and architecture (64-bit). @@ -32,11 +35,16 @@ Additionally, download gevent v1.0.2 at the same site. Run command prompt (cmd.exe) as administrator, and issue the following commands. ``` python -m pip install cython -python -m pip install numpy-1.11.0+mkl-cp27-cp27m-win_amd64.whl -python -m pip install scipy-0.17.0-cp27-none-win_amd64.whl -python -m pip install matplotlib-1.5.1-cp27-none-win_amd64.whl -python -m pip install scikit_image-0.12.3-cp27-cp27m-win_amd64.whl -python -m pip install h5py-2.6.0-cp27-cp27m-win_amd64.whl +python -m pip install numpy‑1.11.3+mkl‑cp27‑cp27m‑win_amd64.whl +python -m pip install scipy‑0.19.1‑cp27‑cp27m‑win_amd64.whl +python -m pip install matplotlib‑2.0.2‑cp27‑cp27m‑win_amd64.whl +python -m pip install scikit_image‑0.13.0‑cp27‑cp27m‑win_amd64.whl +python -m pip install h5py‑2.7.0‑cp27‑cp27m‑win_amd64.whl +``` + +If the installation process complains the packages are not a supported wheel on your platform, upgrade pip with this command and try again. +``` +python -m pip install --upgrade pip ``` If the installation process complains compiler not found, you need to install Microsoft Visual C++ Compiler for Python 2.7, downloaded at (https://www.microsoft.com/en-us/download/details.aspx?id=44266).