提交 34484381 编写于 作者: Y Yu Yang

Fix bug in protobuf.

Currently, Paddle only support Python use the sample version of
Protobuf that CPP do.
上级 756ee92d
...@@ -23,7 +23,7 @@ setup(name="py_paddle", ...@@ -23,7 +23,7 @@ setup(name="py_paddle",
install_requires = [ install_requires = [
'nltk>=3.2.2', 'nltk>=3.2.2',
'numpy>=1.8.0', # The numpy is required. 'numpy>=1.8.0', # The numpy is required.
'protobuf>=${PROTOBUF_VERSION}' # The paddle protobuf version 'protobuf==${PROTOBUF_VERSION}' # The paddle protobuf version
], ],
url='http://www.paddlepaddle.org/', url='http://www.paddlepaddle.org/',
license='Apache 2.0', license='Apache 2.0',
......
...@@ -16,7 +16,7 @@ setup(name='paddle', ...@@ -16,7 +16,7 @@ setup(name='paddle',
packages=packages, packages=packages,
install_requires=[ install_requires=[
"numpy", "numpy",
"protobuf==3.1.0", "protobuf==${PROTOBUF_VERSION}",
"matplotlib", "matplotlib",
], ],
package_dir={ package_dir={
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册