"vscode:/vscode.git/clone" did not exist on "6096e89eb1b01fe53e400b6befad0d2944d35705"
Commit 9974c602 authored by Chi Song's avatar Chi Song Committed by xuehui
Browse files

add miniconda for windows recommendation and fixed some typo. (#1072)

* fix some format

* add Miniconda and fix typo

* update indents
parent 1d3f4fd9
...@@ -129,7 +129,7 @@ python -m pip install --upgrade nni ...@@ -129,7 +129,7 @@ python -m pip install --upgrade nni
Note: Note:
* `--user` can be added if you want to install NNI in your home directory, which does not require any special privileges. * `--user` can be added if you want to install NNI in your home directory, which does not require any special privileges.
* Currently NNI on Windows only support local mode. Anaconda is highly recommended to install NNI on Windows. * Currently NNI on Windows only support local mode. Anaconda or Miniconda is highly recommended to install NNI on Windows.
* If there is any error like `Segmentation fault`, please refer to [FAQ](docs/en_US/FAQ.md) * If there is any error like `Segmentation fault`, please refer to [FAQ](docs/en_US/FAQ.md)
**Install through source code** **Install through source code**
......
...@@ -25,22 +25,28 @@ Currently we support installation on Linux, Mac and Windows(local mode). ...@@ -25,22 +25,28 @@ Currently we support installation on Linux, Mac and Windows(local mode).
You can also install NNI in a docker image. Please follow the instructions [here](https://github.com/Microsoft/nni/tree/master/deployment/docker/README.md) to build NNI docker image. The NNI docker image can also be retrieved from Docker Hub through the command `docker pull msranni/nni:latest`. You can also install NNI in a docker image. Please follow the instructions [here](https://github.com/Microsoft/nni/tree/master/deployment/docker/README.md) to build NNI docker image. The NNI docker image can also be retrieved from Docker Hub through the command `docker pull msranni/nni:latest`.
## **Installation on Windows** ## **Installation on Windows**
When you use powershell to run script for the first time, you need **run powershell as administrator** with this command:
When you use PowerShell to run script for the first time, you need **run PowerShell as administrator** with this command:
```bash ```bash
Set-ExecutionPolicy -ExecutionPolicy Unrestricted Set-ExecutionPolicy -ExecutionPolicy Unrestricted
``` ```
Anaconda is highly recommanded.
Anaconda or Miniconda is highly recommended.
* __Install NNI through pip__ * __Install NNI through pip__
Prerequisite: `python(64-bit) >= 3.5` Prerequisite: `python(64-bit) >= 3.5`
```bash ```bash
python -m pip install --upgrade nni python -m pip install --upgrade nni
``` ```
* __Install NNI through source code__ * __Install NNI through source code__
Prerequisite: `python >=3.5`, `git`, `powershell` Prerequisite: `python >=3.5`, `git`, `PowerShell`.
you can install nni as administrator or current user as follows:
you can install NNI as administrator or current user as follows:
```bash ```bash
git clone -b v0.7 https://github.com/Microsoft/nni.git git clone -b v0.7 https://github.com/Microsoft/nni.git
cd nni cd nni
......
...@@ -4,7 +4,7 @@ Currently we only support local mode on Windows. Windows 10.1809 is well tested ...@@ -4,7 +4,7 @@ Currently we only support local mode on Windows. Windows 10.1809 is well tested
## **Installation on Windows** ## **Installation on Windows**
**Anaconda python(64-bit) is highly recommended.** **Anaconda or Miniconda python(64-bit) is highly recommended.**
When you use PowerShell to run script for the first time, you need **run PowerShell as administrator** with this command: When you use PowerShell to run script for the first time, you need **run PowerShell as administrator** with this command:
...@@ -22,7 +22,7 @@ Set-ExecutionPolicy -ExecutionPolicy Unrestricted ...@@ -22,7 +22,7 @@ Set-ExecutionPolicy -ExecutionPolicy Unrestricted
* __Install NNI through source code__ * __Install NNI through source code__
Prerequisite: `python >=3.5`, `git`, `powershell` Prerequisite: `python >=3.5`, `git`, `PowerShell`
```bash ```bash
git clone -b v0.7 https://github.com/Microsoft/nni.git git clone -b v0.7 https://github.com/Microsoft/nni.git
...@@ -55,9 +55,9 @@ Set-ExecutionPolicy -ExecutionPolicy Unrestricted ...@@ -55,9 +55,9 @@ Set-ExecutionPolicy -ExecutionPolicy Unrestricted
>...cannot be loaded because running scripts is disabled on this system. >...cannot be loaded because running scripts is disabled on this system.
### Trial failed with missing DLL in cmd or PowerShell ### Trial failed with missing DLL in command line or PowerShell
This error caused by missing LIBIFCOREMD.DLL and LIBMMD.DLL and fail to install SciPy. Using anaconda python(64-bit) can solve it. This error caused by missing LIBIFCOREMD.DLL and LIBMMD.DLL and fail to install SciPy. Using Anaconda or Miniconda with Python(64-bit) can solve it.
>ImportError: DLL load failed >ImportError: DLL load failed
### Trial failed on webUI ### Trial failed on webUI
...@@ -77,8 +77,7 @@ If there is a stderr file, please check out. Two possible cases are as follows: ...@@ -77,8 +77,7 @@ If there is a stderr file, please check out. Two possible cases are as follows:
Make sure C++ 14.0 compiler installed then try to run `nnictl package install --name=BOHB` to install the dependencies. Make sure C++ 14.0 compiler installed then try to run `nnictl package install --name=BOHB` to install the dependencies.
### Not supported tuner on Windows ### Not supported tuner on Windows
SMAC is not supported currently, the specific reason can be referred to this [github issue](https://github.com/automl/SMAC3/issues/483). SMAC is not supported currently, the specific reason can be referred to this [GitHub issue](https://github.com/automl/SMAC3/issues/483).
Note: Note:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment