Skip to content
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

install error in wsl2 #12

Open
csj3684 opened this issue Aug 1, 2021 · 3 comments
Open

install error in wsl2 #12

csj3684 opened this issue Aug 1, 2021 · 3 comments

Comments

@csj3684
Copy link

csj3684 commented Aug 1, 2021

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.

@csj3684
Copy link
Author

csj3684 commented Aug 1, 2021

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)

@csj3684 csj3684 closed this as completed Aug 2, 2021
@csj3684
Copy link
Author

csj3684 commented Aug 2, 2021

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 csj3684 reopened this Aug 2, 2021
@NekooyCollins
Copy link

@csj3684 Hi, the csv files are under catkin_ws folder on my computer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants