Unverified Commit 07cb73b1 authored by chicm-ms's avatar chicm-ms Committed by GitHub
Browse files

Update python version requirements to 3.6 (#2790)

parent cdc671ce
...@@ -215,7 +215,7 @@ Within the following table, we summarized the current NNI capabilities, we are g ...@@ -215,7 +215,7 @@ Within the following table, we summarized the current NNI capabilities, we are g
### **Install** ### **Install**
NNI supports and is tested on Ubuntu >= 16.04, macOS >= 10.14.1, and Windows 10 >= 1809. Simply run the following `pip install` in an environment that has `python 64-bit >= 3.5`. NNI supports and is tested on Ubuntu >= 16.04, macOS >= 10.14.1, and Windows 10 >= 1809. Simply run the following `pip install` in an environment that has `python 64-bit >= 3.6`.
Linux or macOS Linux or macOS
......
# Framework and Library Supports # Framework and Library Supports
With the built-in Python API, NNI naturally supports the hyper parameter tuning and neural network search for all the AI frameworks and libraries who support Python models(`version >= 3.5`). NNI had also provided a set of examples and tutorials for some of the popular scenarios to make jump start easier. With the built-in Python API, NNI naturally supports the hyper parameter tuning and neural network search for all the AI frameworks and libraries who support Python models(`version >= 3.6`). NNI had also provided a set of examples and tutorials for some of the popular scenarios to make jump start easier.
## Supported AI Frameworks ## Supported AI Frameworks
......
...@@ -6,7 +6,7 @@ Installation on Linux and macOS follow the same instructions, given below. ...@@ -6,7 +6,7 @@ Installation on Linux and macOS follow the same instructions, given below.
### Install NNI through pip ### Install NNI through pip
Prerequisite: `python 64-bit >= 3.5` Prerequisite: `python 64-bit >= 3.6`
```bash ```bash
python3 -m pip install --upgrade nni python3 -m pip install --upgrade nni
...@@ -16,7 +16,7 @@ Installation on Linux and macOS follow the same instructions, given below. ...@@ -16,7 +16,7 @@ Installation on Linux and macOS follow the same instructions, given below.
If you are interested in special or the latest code versions, you can install NNI through source code. If you are interested in special or the latest code versions, you can install NNI through source code.
Prerequisites: `python 64-bit >=3.5`, `git`, `wget` Prerequisites: `python 64-bit >=3.6`, `git`, `wget`
```bash ```bash
git clone -b v1.7 https://github.com/Microsoft/nni.git git clone -b v1.7 https://github.com/Microsoft/nni.git
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## Prerequires ## Prerequires
* Python 3.5 (or above) 64-bit. [Anaconda](https://www.anaconda.com/products/individual) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) is highly recommended to manage multiple Python environments on Windows. * Python 3.6 (or above) 64-bit. [Anaconda](https://www.anaconda.com/products/individual) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) is highly recommended to manage multiple Python environments on Windows.
* If it's a newly installed Python environment, it needs to install [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) to support build NNI dependencies like `scikit-learn`. * If it's a newly installed Python environment, it needs to install [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) to support build NNI dependencies like `scikit-learn`.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## Installation ## Installation
We currently support Linux, macOS, and Windows. Ubuntu 16.04 or higher, macOS 10.14.1, and Windows 10.1809 are tested and supported. Simply run the following `pip install` in an environment that has `python >= 3.5`. We currently support Linux, macOS, and Windows. Ubuntu 16.04 or higher, macOS 10.14.1, and Windows 10.1809 are tested and supported. Simply run the following `pip install` in an environment that has `python >= 3.6`.
### Linux and macOS ### Linux and macOS
......
...@@ -237,7 +237,7 @@ ...@@ -237,7 +237,7 @@
<p> <p>
NNI supports and is tested on Ubuntu >= 16.04, macOS >= 10.14.1, NNI supports and is tested on Ubuntu >= 16.04, macOS >= 10.14.1,
and Windows 10 >= 1809. Simply run the following `pip install` and Windows 10 >= 1809. Simply run the following `pip install`
in an environment that has `python 64-bit >= 3.5`. in an environment that has `python 64-bit >= 3.6`.
</p> </p>
<div class="command-intro">Linux or macOS</div> <div class="command-intro">Linux or macOS</div>
<div class="command">python3 -m pip install --upgrade nni</div> <div class="command">python3 -m pip install --upgrade nni</div>
......
...@@ -8,7 +8,7 @@ setuptools.setup( ...@@ -8,7 +8,7 @@ setuptools.setup(
version = '0.1', version = '0.1',
packages = setuptools.find_packages(exclude=['*test*']), packages = setuptools.find_packages(exclude=['*test*']),
python_requires = '>=3.5', python_requires = '>=3.6',
classifiers = [ classifiers = [
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License', 'License :: OSI Approved :: MIT License',
......
...@@ -27,7 +27,7 @@ setup( ...@@ -27,7 +27,7 @@ setup(
'nni_gpu_tool':'tools/nni_gpu_tool' 'nni_gpu_tool':'tools/nni_gpu_tool'
}, },
package_data = {'nni': ['**/requirements.txt']}, package_data = {'nni': ['**/requirements.txt']},
python_requires = '>=3.5', python_requires = '>=3.6',
install_requires = [ install_requires = [
'astor', 'astor',
'hyperopt==0.1.2', 'hyperopt==0.1.2',
......
...@@ -8,7 +8,7 @@ setuptools.setup( ...@@ -8,7 +8,7 @@ setuptools.setup(
version='999.0.0-developing', version='999.0.0-developing',
packages=setuptools.find_packages(), packages=setuptools.find_packages(),
python_requires='>=3.5', python_requires='>=3.6',
install_requires=[ install_requires=[
'requests' 'requests'
], ],
......
...@@ -12,7 +12,7 @@ setuptools.setup( ...@@ -12,7 +12,7 @@ setuptools.setup(
version = '999.0.0-developing', version = '999.0.0-developing',
packages = setuptools.find_packages(exclude=['tests']), packages = setuptools.find_packages(exclude=['tests']),
python_requires = '>=3.5', python_requires = '>=3.6',
install_requires = [ install_requires = [
'hyperopt==0.1.2', 'hyperopt==0.1.2',
'json_tricks', 'json_tricks',
......
...@@ -4,7 +4,7 @@ The NNI CTL module is used to control Neural Network Intelligence, including sta ...@@ -4,7 +4,7 @@ The NNI CTL module is used to control Neural Network Intelligence, including sta
``` ```
Ubuntu 16.04 or other Linux OS Ubuntu 16.04 or other Linux OS
python >= 3.5 python >= 3.6
``` ```
## Installation ## Installation
......
...@@ -8,7 +8,7 @@ setuptools.setup( ...@@ -8,7 +8,7 @@ setuptools.setup(
version = '999.0.0-developing', version = '999.0.0-developing',
packages = setuptools.find_packages(exclude=['*test*']), packages = setuptools.find_packages(exclude=['*test*']),
python_requires = '>=3.5', python_requires = '>=3.6',
install_requires = [ install_requires = [
'requests', 'requests',
'ruamel.yaml', 'ruamel.yaml',
......
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