Closed Wingspear closed 4 months ago
Can you list the files in your $CARLA_ROOT$/PythonAPI/carla/dist
directory?
hmm.. I don't seem to have a $CARLA_ROOT$/PythonAPI/carla/dist
directory listed.
You are doing something wrong. The make PythonAPI
should generate the egg and whl files. Are you running that command? Read the docs for installation.
After trying make PythonAPI
again, the output logs that "the dist folder was installed successfully", but it doesn't look like the installation went through. It appears to be a linker error when trying to find the Boost library (we're using Python 3.8). I attached some screenshots below. Any ideas?
Yes, if there are linker errors when you first run make PythonAPI
, rerunning the command shows success; however, those errors are still there. I am familiar with these errors. Please go through #46, and run the listed commands at the end.
Make sure to first run make clean
and get rid of all the files in your build folder.
I followed the instructions and reran make PythonAPI
. After launching Unreal with make launch
and running the python generate_traffic.py
example, I'm still getting the same Client-Simulator version mismatch issue.
This is what my dist directory looks like:
did you reinstall the new python whl file using pip install carla-0.9.13...whl
file? Did you first run pip uninstall carla
?
Awesome, pip install carla-0.9.13...whl
did the trick. Thanks!
I'm trying to run some examples under PythonAPI. I'm currently launching the simulator via "make launch" and running the scene through Unreal. Then, I'm running some example python scripts via the client API.
Even though my python client seems to be on 0.9.13 (as it was pulled from the right commit), the client is still interpreted as 0.9.14. Added some screenshots below. Any pointers?