tried to compile carla python client natively on mac, did not work. So the workaround is to use a docker container which emulates linux/amd64 on mac. Hacky but works !
proof_of_concept_480p.mov2 replies
Does this work with ROS? Can this solution work with both ROS and carla?
I haven't figured out how to add ros support to wine. You could try:
- install ros natively on mac and try to see if it can connect with the server
- install ros in the wine terminal
- use ros on another device and try to connect to carla server on mac
Docker is out of question as the ros multicast is limited to docker's network.
3 replies
UPDATE: try installing win10 and cmd in winetricks if you face any issue or need to upgrade
19 replies
You can download the package here
If you need a version other than v9.15, just download the windows exe and extract it in the wrapper directory
You can download the package here
Hi, thanks for sharing this!
I downloaded the package and tried to open KegworksConfig inside the content directory, but ran into this issue.
Is this expected, or am I missing something or doing something wrong on my side?
If possible, could you share an email so I can ask you a bit more in private? Thanks!
You can download the package here
Hi, thanks for sharing this! I downloaded the package and tried to open KegworksConfig inside the content directory, but ran into this issue. Is this expected, or am I missing something or doing something wrong on my side? If possible, could you share an email so I can ask you a bit more in private? Thanks!
I think you can bypass this by clicking open anyway in settings -> privacy & security
You can download the package here
Hi, thanks for sharing this! I downloaded the package and tried to open KegworksConfig inside the content directory, but ran into this issue. Is this expected, or am I missing something or doing something wrong on my side? If possible, could you share an email so I can ask you a bit more in private? Thanks!
I think you can bypass this by clicking
open anywayinsettings -> privacy & security
Hi, I think it not an issue about the "privacy & security", it is directly shown damaged package. I am afraid.
I downloaded the link from your latest with a 21GB 'CARLA' package, and I think it is right.
My type is the Mac mini 2024 M4.
You can download the package here
Hi, thanks for sharing this! I downloaded the package and tried to open KegworksConfig inside the content directory, but ran into this issue. Is this expected, or am I missing something or doing something wrong on my side? If possible, could you share an email so I can ask you a bit more in private? Thanks!
I think you can bypass this by clicking
open anywayinsettings -> privacy & securityHi, I think it not an issue about the "privacy & security", it is directly shown damaged package. I am afraid. I downloaded the link from your latest with a 21GB 'CARLA' package, and I think it is right. My type is the Mac mini 2024 M4.
Solved by @potatocodex , thank @nveshaan too!
Hey, I find a way to running python client on the winetrick or winery, I'm not sure about app name. It's no matter, lets implement that.
(Macbook M2 Pro)
Instructions:
Step 1: CARLA Server on Apple Silicon Mac.pdf do this procedure.(install carla 0.9.15 ) thank you so much bro @nveshaan
Step 2: Download Windows 64bit Python 3.10 and open KegworksConfig => click Install Software => click Choose Setup Executable => Select Python exe file => When opened the python installation => click Customize Installation => Select All Checkboxes => next => click Install for all users and Add Python to environment variables (path: C:\Program Files\Python310) => Click Install
Step 3: Then click the Command Line in the KegworksConfig and run this command python c:\program files\windowsnoeditor\pythonapi\examples\vehicle_gallery.py
Problem Fixing:
- If you got is error like that:
ModuleNotFoundError: No module named 'shapely'
just dopip install shapely or pip install ........(what you need)
- if you have issue like freezing and slow screen you can set this parameter like that :
"C:\Program Files\WindowsNoEditor\CarlaUE4.exe" -quality-level=Low
And thank you so much for document @nveshaan
3 replies
Hey! Glad you found it helpful π
Yes, I tried this and it works better than docker.
My project depends on ROS. It has nodes for publishing images, position, velocity, etc. from CARLA.
I tried installing ROS in winery, but it didn't work out. So, I've got two options:
- Stick with docker.
- Use
rpyc&zmq, to run a python script in wine, which acts as an API between CARLA on wine and carla scripts on Mac.
Have you got any other ideas?
This is really awesome. I was literally paying for windows server to run CARLA and PythonAPI for my research. Now it is running in my M4 Pro MacBook Pro with 24GB RAM.
Thank you both @nveshaan @canibal1 . I think @nveshaan can include this process in your document for whoever wants to run Python Client except ROS
Hey Esaan , can I run on carla on MB Air M1 2020 8gb ram??
1 reply
Hello, I have a project where I need to install Ubuntu 20.04, Python 3.7, ROS Noetic, CARLA, and the CARLA-ROS bridge. All of these installations need to be done using a PC at my university. However, I donβt have a PC at home, so I want to try it on my Mac and see if running it through Windows Parallel will work. Fortunately, I found this! I plan to use my MacBook Air 2020 (8GB RAM). Do you think I can complete my project by following these installation steps?
1 reply
Getting CARLA and ROS to work together is something I still haven't figured out. CARLA works on Wine (I tried installing ROS in Wine but failed to do so). ROS works on Docker, but ROS multicast is limited to Docker containers.
Things to try!!!
- Install ROS natively on mac and see if it can connect to CARLA server on Wine.
- Figure out a way to compile and install CARLA client (python api) on mac.
Hello thank you for your kind instruction. However i have an error while i tried to run it. I am using Mac Book Air M3 with OS 26.1(latest) and Carla 0.9.16. I followed all the step including installing win10 and cmd from winetricks. However when i test run it, i can see the fatal error and Carla is opening win-64-shipping.exe. I guess that exe file is essential to run it because when i delete it from the directory there is another error. Could you advise me on this issue? Thank you in advance.
3 replies
I am not sure what the problem is. I never tested it on mac os 26. I suggest you delete everything and start again from scratch.
If the error still persists, it would be nice if you could attach a screenshot and mention the exact step where it is failing. I will then take a look over it.
Hi @woonie96 I've succesfull installed in Tahoe 26.2, and Carla 9.16. Make sure call "C:\Program Files\CARLA_0.9.16\CarlaUE4.exe" not "C:\Program Files\CARLA_0.9.16\CarlaUE4\Binaries\Win64\CarlaUE4-Win64-Shipping.exe" .
Hi @woonie96 I've succesfull installed in Tahoe 26.2, and Carla 9.16. Make sure call "C:\Program Files\CARLA_0.9.16\CarlaUE4.exe" not "C:\Program Files\CARLA_0.9.16\CarlaUE4\Binaries\Win64\CarlaUE4-Win64-Shipping.exe" .
Amazing! Could you please add this point where I attached the manual PDF? thanks!!!
Followed all the steps, some things are now named differently and the CARLA package attempts to install under ~/Applications, not a problem though. Running CarlaUE4.exe on macOS 26 -- no luck here, I end up with a 'fatal error' when running 'Test Run'.
2 replies
According to your documentation, PythonAPI of Carla does not work yet directly on MAC. Right? It has to be via Docker?
If that is the way isn't it easier put everything in Docker?
Please do share how you used PythonAPI from docker container.
3 replies
Yeah, Carla server cannot run on docker, but carla python api can be run in docker.
The current best way is to run the carla server through wine and make python api calls from docker.
How about @canibal1 's comment above? I could run python API using Winery Config with few hiccups. What are the disadvantages I haven't faced yet? I will run custom python APIs mainly to generate different type of scenes. I do not need ROS right now which you have issues with.
Thank you for the guide! Is it possible to run the Carla Additional Maps (for 0.9.15) through Winery? I tried downloading them and manually adding to the Maps directory in Carla 0.9.15, but then the Carla Client wasn't able to find the new maps (using Docker).
3 replies
Hmm, it should work according to Maps - CARLA Simulator.
Try out different ways and report your findings. We'll figure out something.


