Closed richardzyx closed 5 years ago
Hi, I got the same error:
Traceback (most recent call last):
File "/usr/local/bin/kitti2bag", line 12, in
Did you solve this problem?
Tks a lot!
Hi @breyner-posso,
Can you check your environment? This error is almost certainly connected to your Python. Can you try running following command and sharing outputs?
python -c "import tf"
python2.7 -c "import tf"
It will show if you can correctly import tf
library. Similar error can also happen if you run it in virtualenv.
I have the same problem with
python2.7 -c "import tf"
Cannot load geometry_msgs moduleTraceback (most recent call last):
File "
python -c "import tf"
Traceback (most recent call last):
File "
That means I should reinstall my OS?
@theplaystar According to your output, there is clearly problem with how your ROS setup, not kitti2bag. Problem is that your python does not see some parts of ROS. Can you double check that you correctly run source /opt/ros/...
as recommended by ROS install guide?
Since this issue is not caused by kitti2bag, I would recommend consulting ROS Answers or similar place.
sudo pip2 install kitti2bag python2 kitti2bag -t 2011_09_29 -r 0071 raw_synced . and bingo!
I got it working using the following comands in ros-kinetic:
sudo python -m pip install --upgrade pip sudo pip install kitti2bag sudo apt-get update sudo apt-get upgrade
I'm running this package on Ubuntu 16.04 with
python
aliased to python3, I ran into this exception message:Is there some dependencies I'm missing? It seems to be related to this issue: https://github.com/ros/geometry2/issues/259 but I'm not sure. I've followed the tutorial on tf to install the packages.
Thanks!