简体   繁体   中英

Unable to run carla Spawn_npc python eamples?

Hi I have followed the newest Carla release following this: However when I run the spawn_npc example I have the error below:

/opt/carla-simulator/PythonAPI/examples$ python3 spawn_npc.py
Traceback (most recent call last):
File "spawn_npc.py", line 30, in
from numpy import random
ModuleNotFoundError: No module named 'numpy'

I have installed numpy and updated my python version yet still any ideas?

Thank you

Looks like you don't have numpy installed, at least not in your python3 environment. Run:

pip3 install numpy

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM