I downloaded tar in accordance with these two.gz file and follow the steps. #4071 #1864
When I run the last step:python setup.py install
I have an error log:
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/action_filter.py to action_filter.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/urdf_utils.py to urdf_utils.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/urdf_utils.py", line 14
def link_name_to_id(link_name: Text, robot_id: int, pybullet_client) -> int:
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/kinematics.py to kinematics.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/kinematics.py", line 14
robot: typing.Any,
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_motor.py to laikago_motor.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_motor_model_v2.py to minitaur_motor_model_v2.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_motor_model_v2.py", line 38
num_motors: int,
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_config.py to robot_config.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_config.py", line 53
angle_lower_limits: Union[float, Sequence[float]] = float('-inf'),
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_kinematic_constants.py to laikago_kinematic_constants.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_base.py to robot_base.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_base.py", line 12
class RobotBase(metaclass=abc.ABCMeta):
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_interface_pb2.py to laikago_interface_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/vector_pb2.py to vector_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/autonomous_object.py to autonomous_object.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/autonomous_object.py", line 30
urdf_file: Text,
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_motor.py to minitaur_motor.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/mini_cheetah_test.py to mini_cheetah_test.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur.py to minitaur.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago.py to laikago.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/hybrid_motor_model.py to hybrid_motor_model.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/hybrid_motor_model.py", line 21
def _convert_to_np_array(inputs: Union[float, Tuple[float], np.ndarray], dim):
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_v2.py to minitaur_v2.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_v2.py", line 94
joint_angles: Union[Tuple[float], Dict[Text,
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_urdf_loader.py to robot_urdf_loader.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_urdf_loader.py", line 17
def _sub_dict(joint_name_to_id: Dict[Text, int],
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_v2.py to laikago_v2.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/quadruped_base.py to quadruped_base.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/quadruped_base.py", line 27
pybullet_client: bullet_client.BulletClient,
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_constants.py to laikago_constants.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_constants.py to minitaur_constants.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/point_cloud_utils.py to point_cloud_utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/imagery_client.py to imagery_client.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/imagery_client.py", line 30
start_capture_uri: Text = _URI_START_CAPTURE,
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/sim_camera.py to sim_camera.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/imagery_utils.py to imagery_utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/imagery_utils_test.py to imagery_utils_test.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/env_bases.py to env_bases.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/kerasrl_utils.py to kerasrl_utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/train.py to train.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/train.py", line 49
savepath = f"{args.algo}{env_id}"
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/enjoy.py to enjoy.pyc
File "build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/enjoy.py", line 64
savepath = f"{args.algo}{env_id}.zip"
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/kukaGymEnv.py to kukaGymEnv.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/cartpole_bullet.py to cartpole_bullet.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/minitaur_duck_gym_env.py to minitaur_duck_gym_env.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/minitaur_env_randomizer.py to minitaur_env_randomizer.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/env_randomizer_base.py to env_randomizer_base.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/kuka.py to kuka.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/motor.py to motor.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/racecarZEDGymEnv.py to racecarZEDGymEnv.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/racecarGymEnv.py to racecarGymEnv.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/minitaur.py to minitaur.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/kuka_diverse_object_gym_env.py to kuka_diverse_object_gym_env.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/minitaur_gym_env.py to minitaur_gym_env.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/kukaCamGymEnv.py to kukaCamGymEnv.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/racecar.py to racecar.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/scene_abstract.py to scene_abstract.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/batch_env.py to batch_env.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/in_graph_env.py to in_graph_env.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/mock_environment.py to mock_environment.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/attr_dict.py to attr_dict.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/simulate.py to simulate.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/loop.py to loop.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/mock_algorithm.py to mock_algorithm.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/in_graph_batch_env.py to in_graph_batch_env.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/streaming_mean.py to streaming_mean.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/count_weights.py to count_weights.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/wrappers.py to wrappers.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/configs.py to configs.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/visualize_ppo.py to visualize_ppo.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/algorithm.py to algorithm.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/normalize.py to normalize.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/utility.py to utility.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/memory.py to memory.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/utility.py to utility.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/networks.py to networks.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/train_ppo.py to train_ppo.pyc
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/gym_pendulum_envs.py to gym_pendulum_envs.pyc
creating stub loader for pybullet.so
creating stub loader for eglRenderer.so
byte-compiling build/bdist.linux-x86_64/egg/pybullet.py to pybullet.pyc
byte-compiling build/bdist.linux-x86_64/egg/eglRenderer.py to eglRenderer.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying examples/pybullet/gym/pybullet.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying examples/pybullet/gym/pybullet.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying examples/pybullet/gym/pybullet.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying examples/pybullet/gym/pybullet.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
pybullet_data.init: module references file
pybullet_envs.robot_bases: module references file
pybullet_envs.scene_abstract: module references file
pybullet_envs.bullet.minitaur: module references file
creating 'dist/pybullet-3.2.0-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pybullet-3.2.0-py2.7-linux-x86_64.egg
removing '/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg
Extracting pybullet-3.2.0-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/deep_mimic/env/humanoid_stable_pd_multiclip.py", line 651
def computeCOMposVel(self, uid: int):
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/utilities/noise_generators.py", line 8
class NoiseGenerator(metaclass=abc.ABCMeta):
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/tasks/task_interface.py", line 13
class Task(metaclass=abc.ABCMeta):
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/com_height_estimator.py", line 21
robot: Any,
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/dummy_gait_generator.py", line 34
robot: Any,
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/locomotion_controller.py", line 25
robot: Any,
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/com_velocity_estimator.py", line 32
robot: Any,
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/crowd_controller.py", line 25
position_key: Text
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/time_ordered_buffer.py", line 13
value_0: Any
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/object_controller.py", line 26
class ControllerBase(metaclass=abc.ABCMeta):
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/minitaur_motor_model_v2.py", line 38
num_motors: int,
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/robot_base.py", line 12
class RobotBase(metaclass=abc.ABCMeta):
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/autonomous_object.py", line 30
urdf_file: Text,
^
SyntaxError: invalid syntax
I downloaded tar in accordance with these two.gz file and follow the steps. #4071 #1864 When I run the last step:python setup.py install I have an error log:
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/action_filter.py to action_filter.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/urdf_utils.py to urdf_utils.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/urdf_utils.py", line 14 def link_name_to_id(link_name: Text, robot_id: int, pybullet_client) -> int: ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/kinematics.py to kinematics.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/utilities/kinematics.py", line 14 robot: typing.Any, ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_motor.py to laikago_motor.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_motor_model_v2.py to minitaur_motor_model_v2.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_motor_model_v2.py", line 38 num_motors: int, ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_config.py to robot_config.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_config.py", line 53 angle_lower_limits: Union[float, Sequence[float]] = float('-inf'), ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_kinematic_constants.py to laikago_kinematic_constants.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_base.py to robot_base.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_base.py", line 12 class RobotBase(metaclass=abc.ABCMeta): ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_interface_pb2.py to laikago_interface_pb2.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/vector_pb2.py to vector_pb2.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/autonomous_object.py to autonomous_object.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/autonomous_object.py", line 30 urdf_file: Text, ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_motor.py to minitaur_motor.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/mini_cheetah_test.py to mini_cheetah_test.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur.py to minitaur.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago.py to laikago.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/hybrid_motor_model.py to hybrid_motor_model.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/hybrid_motor_model.py", line 21 def _convert_to_np_array(inputs: Union[float, Tuple[float], np.ndarray], dim): ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_v2.py to minitaur_v2.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_v2.py", line 94 joint_angles: Union[Tuple[float], Dict[Text, ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_urdf_loader.py to robot_urdf_loader.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/robot_urdf_loader.py", line 17 def _sub_dict(joint_name_to_id: Dict[Text, int], ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_v2.py to laikago_v2.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/quadruped_base.py to quadruped_base.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/quadruped_base.py", line 27 pybullet_client: bullet_client.BulletClient, ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/laikago_constants.py to laikago_constants.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/robots/minitaur_constants.py to minitaur_constants.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/point_cloud_utils.py to point_cloud_utils.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/imagery_client.py to imagery_client.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/imagery_client.py", line 30 start_capture_uri: Text = _URI_START_CAPTURE, ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/sim_camera.py to sim_camera.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/imagery_utils.py to imagery_utils.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/minitaur/vision/imagery_utils_test.py to imagery_utils_test.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/env_bases.py to env_bases.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/kerasrl_utils.py to kerasrl_utils.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/train.py to train.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/train.py", line 49 savepath = f"{args.algo}{env_id}" ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/enjoy.py to enjoy.pyc File "build/bdist.linux-x86_64/egg/pybullet_envs/stable_baselines/enjoy.py", line 64 savepath = f"{args.algo}{env_id}.zip" ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/kukaGymEnv.py to kukaGymEnv.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/cartpole_bullet.py to cartpole_bullet.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/minitaur_duck_gym_env.py to minitaur_duck_gym_env.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/minitaur_env_randomizer.py to minitaur_env_randomizer.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/env_randomizer_base.py to env_randomizer_base.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/kuka.py to kuka.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/motor.py to motor.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/racecarZEDGymEnv.py to racecarZEDGymEnv.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/racecarGymEnv.py to racecarGymEnv.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/minitaur.py to minitaur.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/kuka_diverse_object_gym_env.py to kuka_diverse_object_gym_env.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/minitaur_gym_env.py to minitaur_gym_env.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/kukaCamGymEnv.py to kukaCamGymEnv.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/bullet/racecar.py to racecar.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/scene_abstract.py to scene_abstract.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/batch_env.py to batch_env.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/in_graph_env.py to in_graph_env.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/mock_environment.py to mock_environment.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/attr_dict.py to attr_dict.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/simulate.py to simulate.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/loop.py to loop.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/mock_algorithm.py to mock_algorithm.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/in_graph_batch_env.py to in_graph_batch_env.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/streaming_mean.py to streaming_mean.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/count_weights.py to count_weights.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/tools/wrappers.py to wrappers.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/configs.py to configs.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/visualize_ppo.py to visualize_ppo.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/algorithm.py to algorithm.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/normalize.py to normalize.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/utility.py to utility.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/ppo/memory.py to memory.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/utility.py to utility.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/networks.py to networks.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/agents/train_ppo.py to train_ppo.pyc byte-compiling build/bdist.linux-x86_64/egg/pybullet_envs/gym_pendulum_envs.py to gym_pendulum_envs.pyc creating stub loader for pybullet.so creating stub loader for eglRenderer.so byte-compiling build/bdist.linux-x86_64/egg/pybullet.py to pybullet.pyc byte-compiling build/bdist.linux-x86_64/egg/eglRenderer.py to eglRenderer.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying examples/pybullet/gym/pybullet.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying examples/pybullet/gym/pybullet.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying examples/pybullet/gym/pybullet.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying examples/pybullet/gym/pybullet.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt zip_safe flag not set; analyzing archive contents... pybullet_data.init: module references file pybullet_envs.robot_bases: module references file pybullet_envs.scene_abstract: module references file pybullet_envs.bullet.minitaur: module references file creating 'dist/pybullet-3.2.0-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing pybullet-3.2.0-py2.7-linux-x86_64.egg removing '/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg' (and everything under it) creating /usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg Extracting pybullet-3.2.0-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/deep_mimic/env/humanoid_stable_pd_multiclip.py", line 651 def computeCOMposVel(self, uid: int): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/deep_mimic/env/motion_capture_data_multiclip.py", line 148 new_dict = {old_dict, new_dict} ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/deep_mimic/env/humanoid_stable_pd.py", line 969 def computeCOMposVel(self, uid: int): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/multiagent_mobility_gym_env.py", line 37 scene: scene_base.SceneBase = scene_base.SceneBase(), ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/base_client.py", line 32 def init(self, client_type: Text = ""): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/locomotion_gym_env.py", line 52 clock: Union[Callable[..., float], Text] = 'SIM_CLOCK', ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/evaluation/metric_logger.py", line 12 dict_1: Dict[Text, Any], ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/evaluation/metric.py", line 40 name: Text, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/evaluation/metric_utils.py", line 10 def init(self, data: Sequence[Any]): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/utilities/noise_generators.py", line 8 class NoiseGenerator(metaclass=abc.ABCMeta): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/sensors/sensor.py", line 39 def linear_obs_blender(low_value: Any, high_value: Any, coeff: float): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/sensors/camera_sensor.py", line 43 lower_bound: Union[float, Iterable[float]] = 0.0, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/sensors/toe_position_sensor.py", line 14 def _convert_to_np_array(inputs: Union[float, Tuple[float], np.ndarray], dim): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/sensors/accelerometer_sensor.py", line 24 name: Text = "Accelerometer", ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/sensors/motor_angle_sensor.py", line 15 def _convert_to_np_array(inputs: Union[float, Tuple[float], np.ndarray], dim): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/sensors/imu_sensor.py", line 31 name: Text = "IMU", ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/sensors/last_action_sensor.py", line 18 name: Text = "LastAction", ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/sensors/space_utils.py", line 26 def convert_sensors_to_gym_space(sensors: List[sensor.Sensor]) -> gym.Space: ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/env_wrappers/step_based_curriculum_wrapper_env.py", line 16 name: Text, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/env_wrappers/walking_wrapper.py", line 25 def _setup_controller(robot: Any) -> locomotion_controller.LocomotionController: ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/env_wrappers/depth_uv_to_footplacement_wrapper.py", line 245 def step(self, action: Sequence[float]): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/env_wrappers/mpc_locomotion_wrapper.py", line 46 horizontal_com_velocity_heuristic: np.ndarray = np.zeros(2) ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/tasks/task_interface.py", line 13 class Task(metaclass=abc.ABCMeta): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/tasks/terminal_conditions.py", line 81 max_roll: float = 1.2, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/scenes/random_stepstone_scene.py", line 19 num_stones: int = 50, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/scenes/scene_base.py", line 36 data_root: Text = None, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/envs_v2/scenes/simple_scene.py", line 33 def vectorized_map(self) -> Sequence[scene_base.Polygon]: ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/raibert_swing_leg_controller.py", line 30 def _gen_parabola(phase: float, start: float, mid: float, end: float) -> float: ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/leg_controller.py", line 17 def reset(self, current_time: float): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/multi_state_estimator.py", line 27 robot: Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/openloop_gait_generator.py", line 41 robot: Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/model_predictive_control.py", line 27 foot_positions_in_com_frame: Sequence[Sequence[float]], ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/imu_based_com_velocity_estimator.py", line 48 robot: Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/locomotion_controller_in_scenario_set_example.py", line 168 print(f"Scene name: flat ground. Random push: {FLAGS.add_random_push}. " ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/torque_stance_leg_controller.py", line 53 robot: Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/time_based_moving_window_filter.py", line 18 filter_window: float = 0.1, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/com_height_estimator.py", line 21 robot: Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/dummy_gait_generator.py", line 34 robot: Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/locomotion_controller.py", line 25 robot: Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/agents/baseline_controller/com_velocity_estimator.py", line 32 robot: Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/crowd_controller.py", line 25 position_key: Text ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/time_ordered_buffer.py", line 13 value_0: Any ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/object_controller.py", line 26 class ControllerBase(metaclass=abc.ABCMeta): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/minitaur_motor_model_v2.py", line 38 num_motors: int, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/robot_config.py", line 53 angle_lower_limits: Union[float, Sequence[float]] = float('-inf'), ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/robot_base.py", line 12 class RobotBase(metaclass=abc.ABCMeta): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/autonomous_object.py", line 30 urdf_file: Text, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/hybrid_motor_model.py", line 21 def _convert_to_np_array(inputs: Union[float, Tuple[float], np.ndarray], dim): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/minitaur_v2.py", line 94 joint_angles: Union[Tuple[float], Dict[Text, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/robot_urdf_loader.py", line 17 def _sub_dict(joint_name_to_id: Dict[Text, int], ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/quadruped_base.py", line 27 pybullet_client: bullet_client.BulletClient, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/safety/safety_checker.py", line 27 robot: typing.Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/safety/utilities.py", line 14 def assert_in_bound(name: typing.Text, value: float, bound: data_types.Bound): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/safety/motor_action_validator.py", line 24 motor_id: typing.Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/safety/motor_state_validator.py", line 35 motor_id: typing.Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/safety/python/moving_window_filter.py", line 13 def init(self, window_size: int): ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/utilities/kinematics_utils.py", line 15 pybullet_client: bullet_client.BulletClient, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/utilities/urdf_utils.py", line 14 def link_name_to_id(link_name: Text, robot_id: int, pybullet_client) -> int: ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/robots/utilities/kinematics.py", line 14 robot: typing.Any, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/minitaur/vision/imagery_client.py", line 30 start_capture_uri: Text = _URI_START_CAPTURE, ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/stable_baselines/train.py", line 49 savepath = f"{args.algo}{env_id}" ^ SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg/pybullet_envs/stable_baselines/enjoy.py", line 64 savepath = f"{args.algo}{env_id}.zip" ^ SyntaxError: invalid syntax
pybullet 3.2.0 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/pybullet-3.2.0-py2.7-linux-x86_64.egg Processing dependencies for pybullet==3.2.0 Finished processing dependencies for pybullet==3.2.0
what is the reason