Skip to content

Conversation

@Daraan
Copy link

@Daraan Daraan commented Oct 20, 2025

Description

UE5 Cherry-pick of

Fixes #6414 (UE5)

Where has this been tested?

NA - I do not have UE5 installed and could not build the API againt it. Please verify

Possible Drawbacks


This change is Reviewable

@Daraan Daraan requested a review from a team as a code owner October 20, 2025 08:42
@update-docs
Copy link

update-docs bot commented Oct 20, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update our CHANGELOG.md based on your changes.

@qhaas
Copy link
Contributor

qhaas commented Nov 1, 2025

Thanks for the cherry-pick, but I cannot seem to get this to work as described, built using commit d86cc03 and python 3.12.

$ python --version
Python 3.12.9
$ pip install ../main-branch/carla-src/Build/PythonAPI/dist/carla-0.10.0-cp312-cp312-linux_x86_64.whl
$ python -c 'from carla.command import SpawnActor'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'carla.command'; 'carla' is not a package

@Daraan
Copy link
Author

Daraan commented Nov 1, 2025

Thank you very much for testing. I am curios why. Does it work with an earlier carla import? python -c 'import carla; from carla.command import SpawnActor'. Iirc it worked in the UE4 variant without an earlier carla statement, or we just didn't think of the case to use the from import as very first option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CARLA 0.9.14 - PythonAPI - ModuleNotFoundError: No module named 'carla.libcarla.command'

2 participants