提交 7bd13e18 编写于 作者: K kinghuin 提交者: wuzewu

fix pip error (#115)

上级 c0ace470
......@@ -3,10 +3,12 @@ pre-commit
protobuf >= 3.1.0
yapf == 0.26.0
pyyaml
numpy >= 1.12.0
numpy
#[py2]numpy == 1.16.0
Pillow
six >= 1.10.0
chardet == 3.0.4
requests
pandas
#[py2]pandas == 0.24.0
flake8
......@@ -31,12 +31,14 @@ def python_version():
max_version, mid_version, min_version = python_version()
REQUIRED_PACKAGES = [
'numpy >= 1.12.0', 'six >= 1.10.0', 'pandas', 'protobuf >= 3.1.0', 'pyyaml',
'Pillow', 'requests', "visualdl >= 1.3.0"
'six >= 1.10.0', 'protobuf >= 3.1.0', 'pyyaml', 'Pillow', 'requests',
"visualdl >= 1.3.0"
]
if max_version < 3:
REQUIRED_PACKAGES += ["enum"]
REQUIRED_PACKAGES += ["enum", "numpy == 1.16.0", "pandas == 0.24.0"]
else:
REQUIRED_PACKAGES += ["numpy", "pandas"]
setup(
name='paddlehub',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册