Skip to content

ModuleNotFoundError: No module named 'agents' #741

Open
@jishenghuang

Description

@jishenghuang

print(sys.path)
['', '/home/hnyx/carla-ros-bridge/catkin_ws/devel/lib/python3/dist-packages', '/opt/ros/noetic/lib/python3/dist-packages', '/apollo/cyber', '/apollo/cyber/python', '/apollo', '/apollo/modules', '/apollo/modules/carla_bridge/carla_api/carla-0.9.14-py3.7-linux-x86_64.egg', '/carla/PythonAPI/carla/dist/carla-0.9.14-py3.7-linux-x86_64.egg', '/carla/PythonAPI/carla', '/apollo/bazel-bin', '/carla/PythonAPI/carla/agents', '/home/hnyx/anaconda3/envs/Carla_env/lib/python37.zip', '/home/hnyx/anaconda3/envs/Carla_env/lib/python3.7', '/home/hnyx/anaconda3/envs/Carla_env/lib/python3.7/lib-dynload', '/home/hnyx/.local/lib/python3.7/site-packages', '/home/hnyx/anaconda3/envs/Carla_env/lib/python3.7/site-packages']

import agents
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'agents'
The system path already contains the agents package, but it cannot be imported.
May I ask how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions