rosbag_to_csv
rosbag_to_csv copied to clipboard
install error in wsl2
Hi.
I wanna use rosbag to csv, so tried to install it by README. but I have some errors.
- (py38_64) @@@@@ :~/catkin_ws$ rosdep install -r --ignore-src --from-paths src
- WARNING: ROS_PYTHON_VERSION is unset. Defaulting to 3
- ERROR: the following packages/stacks could not have their rosdep keys resolved
- to system dependencies (ROS distro is not set. Make sure
ROS_DISTRO
environment variable is set, or use--rosdistro
option - to specify the distro, e.g.--rosdistro indigo
): - rosbag_to_csv: Cannot locate rosdep definition for [rospy]
- Continuing to install resolvable dependencies...
- executing command [sudo -H apt-get install pyqt4-dev-tools]
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- E: Unable to locate package pyqt4-dev-tools
- ERROR: the following rosdeps failed to install
- apt: command [sudo -H apt-get install pyqt4-dev-tools] failed
- apt: Failed to detect successful installation of [pyqt4-dev-tools]
I think I resolved 'ROS distro is not set' by add '--rosdistro=ROS_DISTRO', but still have two errors.
- rosbag_to_csv: Cannot locate rosdep definition for [rospy]
- E: Unable to locate package pyqt4-dev-tools
and I installed python-rospy in person by 'sudo apt install python-rospy' (of course, I did apt upgrade and update) but it also have error
- Package python-rospy is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- However the following packages replace it:
- python3-rospy
- E: Package 'python-rospy' has no installation candidate
And I installed python3-rospy but I stll have the same errors.
- rosbag_to_csv: Cannot locate rosdep definition for [rospy]
and when it comes to pyqt4-dev-tools, I have a following error.
- E: Unable to locate package pyqt4-dev-tools
What do I do ??
Thank you.
I'm running it on WSL2,
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal
python 3.8 (64bit)
I have the same errors with python 2.7 (64bit)
I just resolved all things. I think I should've run with python 2.
but another issue comes.
I did run and convert it and it said "Finish Conver" with pop up. but in the path ~/.ros, No csv file.
Anything to know ??
thank you.
@csj3684 Hi, the csv files are under catkin_ws
folder on my computer