carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.35k stars 3.69k forks source link

module not exported by pip package. #5428

Open alexge233 opened 2 years ago

alexge233 commented 2 years ago

I've installed the Debian package of Carla, then I used the pypi hosted python version of carla. However, when I try to run the tutorials, the agent module isn't found. I looked into the installed directory of the debian package, and I can see it there. However since the standard practice is to run python packages inside a virtual environment, the global package isn't accessible. Without using a virtual environment, I have to pull all tutorial dependencies globally (either user or system wide) in order to access the agents that is installed via the Debian package. I've managed to do that but it isn't a very good scenario. Shouldn't the pypi hosted version of carla contain the agents?

https://github.com/carla-simulator/carla/blob/8854804f4d7748e14d937ec763a2912823a7e5f5/PythonAPI/examples/automatic_control.py#L61

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.