-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run sample error #62
Comments
i try many times ,failed finally! |
I had the same error and fixed it by running: |
I just fixed some bugs and ran Solution: Create a new Python 3 virtual environment (I'm using Python 3.9) and run # in case you already have ROS installed and sourced
unset PYTHONPATH
# Install OpenCV Python
pip install opencv-python
# Install ROS Python packages
pip install --extra-index-url https://rospypi.github.io/simple/ rosbag rospy tf tf2_ros tf2_msgs actionlib_msgs geometry_msgs sensor_msgs cv_bridge roslz4 |
@Magic-wei After running the command still getting error like the below; Any suggestions, please !! Python Version: 3.9 |
Hi @ajay1606, I tested on Ubuntu 16.04 LTS and Python 3.9 in an Anaconda environment. Every time I work with kitti2bag, I will first run So I think there are two things for you to double check:
|
@Magic-wei Thank you so much for your quick response. by the way after the following command how can we install
Should i run this command ?
|
@Magic-wei Thank you its working well now |
@ajay1606 Awesome, good to know it works for you. 😄 |
@Magic-wei hope u have a good day. I have this problem, could u pls help me! Thank u in advance |
when i run it ,error occured:
kitti2bag -t 2011_09_26 -r 0002 raw_synced .
Traceback (most recent call last):
File "/home/lizj/.local/bin/kitti2bag", line 12, in
import tf
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf/init.py", line 30, in
from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/init.py", line 38, in
from tf2_py import *
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_py/init.py", line 38, in
from ._tf2 import *
ImportError: dynamic module does not define module export function (PyInit__tf2)
The text was updated successfully, but these errors were encountered: