最近在安装pybullet的时候,pycharm报错,提示:
error: command 'cl.exe' failed: No such file or directory
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'D:\python\python37.exe'.

然后我去命令行输入pip install pybullet。
结果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/
![]()
下载Microsoft visual C++ build tools。安装。结果报错:Microsoft visual C++ build t

在安装pybullet时遇到'cl.exe'缺失的问题,尝试通过命令行运行pip install pybullet失败,因为缺少Microsoft Visual C++ 14.0。从官方源下载Microsoft C++ Build Tools安装时出现安装包丢失。尝试从Visual Studio官网下载vs_buildtools并安装后,成功解决了问题,pip install pybullet执行顺利。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



