From 6007f4b3811af0cffcacf9a6151e5b9d2f4ef3ae Mon Sep 17 00:00:00 2001 From: Piotr Gawlowicz Date: Tue, 9 May 2023 20:50:41 +0200 Subject: [PATCH] specify protobuf version for python --- model/ns3gym/requirements.txt | 4 ++-- model/ns3gym/setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/model/ns3gym/requirements.txt b/model/ns3gym/requirements.txt index 6fa1f23276..fdbdec9099 100644 --- a/model/ns3gym/requirements.txt +++ b/model/ns3gym/requirements.txt @@ -1,4 +1,4 @@ pyzmq numpy -protobuf -gym \ No newline at end of file +protobuf==3.20.3 +gym diff --git a/model/ns3gym/setup.py b/model/ns3gym/setup.py index 2a3bc00be8..0e55ddacf3 100644 --- a/model/ns3gym/setup.py +++ b/model/ns3gym/setup.py @@ -27,6 +27,6 @@ def readme(): description='OpenAI Gym meets ns-3', long_description='OpenAI Gym meets ns-3', keywords='openAI gym, ML, RL, ns-3', - install_requires=['pyzmq', 'numpy', 'protobuf', 'gym'], + install_requires=['pyzmq', 'numpy', 'protobuf==3.20.3', 'gym'], extras_require={}, )