install_Windows_en.md 2.7 KB
Newer Older
S
sheqiZ 已提交
1
# **Installation on Windows**
2

S
sheqiZ 已提交
3
## Operating Environment
4

S
sheqiZ 已提交
5 6 7 8
* *64-bit operating system*
* *Windows 7/8, Windows 10 Pro/Enterprise*
* *Python 2.7/3.5/3.6/3.7*
* *pip or pip3 >= 9.0.1*
9

S
sheqiZ 已提交
10
### Precautions
11

S
sheqiZ 已提交
12 13
* The default installation package requires your computer to support AVX instruction set and MKL. If your environment doesn’t support AVX instruction set and MKL, please download [these](./Tables.html/#ciwhls-release) `no-avx`, `openblas` versions of installation package.
* The current version doesn’t support functions related to NCCL and distributed learning.
14

S
sheqiZ 已提交
15
## CPU or GPU
16

S
sheqiZ 已提交
17
* If your computer doesn’t have NVIDIA® GPU, please install the CPU version of PaddlePaddle
18

S
sheqiZ 已提交
19 20 21
* If your computer has NVIDIA® GPU, and it satisfies the following requirements, we recommend you to install the GPU version of PaddlePaddle
    * *CUDA Toolkit 8.0 with cuDNN v7*
    * *GPU's computing capability exceeds 1.0*
22

S
sheqiZ 已提交
23
Please refer to the NVIDIA official documents for the installation process and the configuration methods of [CUDA](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/) and [cuDNN](https://docs.nvidia.com/deeplearning/sdk/cudnn-install/).
24

S
sheqiZ 已提交
25
## Installation Method
26

S
sheqiZ 已提交
27
There are 3 ways to install PaddlePaddle on Windows:
28

S
sheqiZ 已提交
29 30 31
* pip installation (recommended)
* [Docker installation](./install_Docker.html)
* [source code compilation and installation](./compile/compile_Windows.html/#win_source)
32

S
sheqiZ 已提交
33
We would like to introduce the pip installation here.
34

S
sheqiZ 已提交
35
## Installation Process
36

S
sheqiZ 已提交
37 38
* CPU version of PaddlePaddle: `pip install paddlepaddle` or `pip3 install paddlepaddle`
* GPU version of PaddlePaddle: `pip install paddlepaddle-gpu` or `pip3 install paddlepaddle-gpu`
39

S
sheqiZ 已提交
40
There is a checking function below for [verifyig whether the installation is successful](#check). If you have any further questions, please check the [FAQ part](./FAQ.html).
41

S
sheqiZ 已提交
42
Notice:
43

S
sheqiZ 已提交
44 45
* The version of pip and the version of python should be corresponding: python2.7 corresponds to `pip`; python3.x corresponds to `pip3`.
* `pip install paddlepaddle-gpu` This command will install PaddlePaddle that supports CUDA 8.0 cuDNN v7. Currently, PaddlePaddle doesn't support any other version of CUDA or cuDNN on Windows.
46

S
sheqiZ 已提交
47 48 49
<a name="check"></a>
## Installation Verification
After completing the installation process, you can use `python` or `python3` to enter python interpreter and input `import paddle.fluid as fluid` and then `fluid.install_check.run_check()` to check whether the installation is successful.
50

S
sheqiZ 已提交
51
If you see `Your Paddle Fluid is installed succesfully!`, your installation is verified successful.
52

S
sheqiZ 已提交
53
## Uninstall PaddlePaddle
54

S
sheqiZ 已提交
55 56 57
* ***CPU version of PaddlePaddle***: `pip uninstall paddlepaddle` or `pip3 uninstall paddlepaddle`

* ***GPU version of PaddlePaddle***: `pip uninstall paddlepaddle-gpu` or `pip3 uninstall paddlepaddle-gpu`