Closed lijecaru closed 4 years ago
Hi @lijecaru !
I have never worked with conda so I don't know how it is working with the PYTHONPATH
variable. My recommendation is that you add the export PYTHONPATH=...
command into your ~/.bashrc. Make sure you indicate the path to the egg file correctly.
If this is not working you can always create a carla.pth
file into your {path-to-conda-env}/lib/python2.7/site-packages
folder adding the path to the egg file. The content of the carla.pth
file should be something like this:
<path-to-carla>/PythonAPI/carla/dist/<egg-file>
<path-to-carla>/PythonAPI/carla/
Thanks @joel-mb , I added the path to the egg file, but had to keep everything with python 2.7 for it to work. Any experience making it work with python 3.7?
@lijecaru ROS kinetic and melodic use Python2 by default. This will change with the new release ROS Noetic which will target only Python3 and Ubuntu 20.04 (http://wiki.ros.org/noetic)
Got it, thanks!
Thanks @joel-mb , I added the path to the egg file, but had to keep everything with python 2.7 for it to work. Any experience making it work with python 3.7? Hi lijecaru. Can you write it down your egg file location.
After following the installation steps (developer) I get the following error when running the launch file:
Apparently, the system does not recognize the Carla module, I have exported the PYTHONPATH as required. I run everything within a conda environment, so I'm not sure if that interferes somehow with the launchfile.
The process is the following:
source ~/carla-ros-bridge/catkin_ws/devel/setup.bash
roslaunch carla_ros_bridge carla_ros_bridge.launch