具体报错信息:
-[BuildPythonAPI]: [Batch params]: --py3
INFO: Could not find files for the given pattern(s).
-[BuildPythonAPI]: [ERROR] An error ocurred while executing the py.
-[BuildPythonAPI]: [ERROR] Possible causes:
-[BuildPythonAPI]: [ERROR] - Make sure "py" is installed.
-[BuildPythonAPI]: [ERROR] - Make sure it is available on your Windows "py".
make: *** [PythonAPI] Error 1
在path_to_carla\Util\BuildTools
中找到BuildPythonAPI.bat
,然后编辑:
- 更改 py -> python3:
where py 1 >nul >>>> where python3 1>nul
- 将
py -3
替换为python
来源:https://github.com/carla-simulator/carla/issues/976