Unverified Commit e12f6113 authored by Yuge Zhang's avatar Yuge Zhang Committed by GitHub
Browse files

Fix numpy version for Python 3.6 (#3156)

* Fix numpy version for Python 3.6

* Limit version on Windows to <1.19.4
parent 20eecf0b
......@@ -77,6 +77,10 @@ dependencies = [
'prettytable'
]
if sys.platform == 'win32':
dependencies[dependencies.index('numpy')] = 'numpy<1.19.4'
elif sys.version_info < (3, 7):
dependencies[dependencies.index('numpy')] = 'numpy<1.20'
release = os.environ.get('NNI_RELEASE')
......
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