您好,我遵循了最新的Carla版本,如下所示:然而,当我运行spawn_npc示例时,我得到了以下错误: /opt/carla-simulator/PythonAPI/examples$ python3line 30, inModuleNotFoundError: No module named 'numpy' 我已经安装了numpy并更新了我的python
我一直在尝试使用Carla自动驾驶汽车环境,但当我尝试运行本教程中的代码时,我遇到了"AttributeError:模块'carla‘没有属性'Client'“:。'''import os sys.path.append(glob.glob('C:\Downloads\CARLA_0.9.9.4\WindowsNoEditor\PythonAPI\carla\
AttributeError: module 'carla' has no attribute 'Client'
我尝试了一些我找到的在线解决方案。但是,在我的例子中,我可以在python3上运行我的python代码(类似于python3),但不能用bazel run运行。我试图打印bazel调用的python版本,python3也是如此。两者都是python3.8。那么是什么导致了这一切呢?会