Reputation: 21
I am trying to install pybullet 3.2.6 on Python 3.9.12 on Windows 11 64 bit operating system on a Jupyter notebook using the command:
!pip install pybullet>=3.2.6
But this leads to a long error message ending with:
s.stable_baselines', 'pybullet_envs.agents.ppo', 'pybullet_envs.agents.tools', 'pybullet_envs.deep_mimic.env', 'pybullet_envs.deep_mimic.gym_env', 'pybullet_envs.deep_mimic.learning', 'pybullet_envs.deep_mimic.learning.nets', 'pybullet_envs.deep_mimic.learning.solvers', 'pybullet_envs.minitaur.actuatornet', 'pybullet_envs.minitaur.agents', 'pybullet_envs.minitaur.envs', 'pybullet_envs.minitaur.envs_v2', 'pybullet_envs.minitaur.robots', 'pybullet_envs.minitaur.vision', 'pybullet_envs.minitaur.agents.baseline_controller', 'pybullet_envs.minitaur.agents.ppo', 'pybullet_envs.minitaur.agents.scripts', 'pybullet_envs.minitaur.agents.tools', 'pybullet_envs.minitaur.agents.trajectory_generator', 'pybullet_envs.minitaur.envs.env_randomizers', 'pybullet_envs.minitaur.envs_v2.env_wrappers', 'pybullet_envs.minitaur.envs_v2.evaluation', 'pybullet_envs.minitaur.envs_v2.examples', 'pybullet_envs.minitaur.envs_v2.scenes', 'pybullet_envs.minitaur.envs_v2.sensors', 'pybullet_envs.minitaur.envs_v2.tasks', 'pybullet_envs.minitaur.envs_v2.utilities', 'pybullet_envs.minitaur.robots.safety', 'pybullet_envs.minitaur.robots.utilities', 'pybullet_envs.minitaur.robots.safety.python', 'pybullet_robots.laikago', 'pybullet_robots.panda', 'pybullet_robots.xarm', 'pybullet_utils.examples']
-----
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pybullet
ERROR: Could not build wheels for pybullet, which is required to install pyproject.toml-based projects
I am aware of a similar question but the answer recommends using Python 3.9 which I am already using.
Is this due to a compatibility issue? Is pybullet 3.2.6 compatible with Python 3.9.12? I also tried pybullet 3.2.5 but that too failed. How do you resolve this error?
Upvotes: 0
Views: 424