Skip to content

Commit 62ff2e4

Browse files
authored
Merge pull request #1876 from reyoung/fix_bug_in_protobuf_version
Fix bug in protobuf.
2 parents 39c6a42 + 3448438 commit 62ff2e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paddle/setup.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ setup(name="py_paddle",
2323
install_requires = [
2424
'nltk>=3.2.2',
2525
'numpy>=1.8.0', # The numpy is required.
26-
'protobuf>=${PROTOBUF_VERSION}' # The paddle protobuf version
26+
'protobuf==${PROTOBUF_VERSION}' # The paddle protobuf version
2727
],
2828
url='http://www.paddlepaddle.org/',
2929
license='Apache 2.0',

python/setup.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ setup(name='paddle',
1616
packages=packages,
1717
install_requires=[
1818
"numpy",
19-
"protobuf==3.1.0",
19+
"protobuf==${PROTOBUF_VERSION}",
2020
"matplotlib",
2121
],
2222
package_dir={

0 commit comments

Comments
 (0)