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

E: Unable to locate package python-gudev #56

Open
pitosalas opened this issue Jan 12, 2021 · 5 comments
Open

E: Unable to locate package python-gudev #56

pitosalas opened this issue Jan 12, 2021 · 5 comments

Comments

@pitosalas
Copy link

I am installing on Ubuntu 20.04. I've successfully installed ROS noetic. When attempting:

./install 2wd ydlidar
I see this:

INSTALLING NOW....

Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://packages.ros.org/ros/ubuntu focal InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-dev-is-python2' instead of 'python-dev'
E: Unable to locate package python-gudev

I know that I am not the only one to see this but lots of googling hasn't solved it for me yet. So I have some questions:

  1. Does the Linorobot software package depend on/support just python2, or python3, or either one?
  2. Is there a known incompatibility with Ubuntu 20.04?
  3. Is there a known incompatibility with ROS Noetic?

Thanks

@grassjelly
Copy link
Member

Hi Pito,

  1. All python scripts were developed on python2. I haven't tested on 3 yet but should be pretty straight forward to fix backward incompatibilities.
  2. I haven't tried this on Noetic yet but I believe some users managed to install this successfully on Noetic.

You can check out this snippet to make python-gudev work on 18.04 above.
https://github.com/chvmp/champ_install/blob/master/install#L97-L114

Hope these help.

@pitosalas
Copy link
Author

pitosalas commented Jan 19, 2021 via email

@pitosalas
Copy link
Author

pitosalas commented Jan 24, 2021 via email

@IAseven
Copy link

IAseven commented Feb 2, 2021

@pitosalas Can you describe your problem in detail?

@pitosalas
Copy link
Author

I since wrote up a very detailed post on how I troubleshot the problem: https://groups.google.com/g/linorobot/c/egaPyuaEyns

It was some combination of (zero or more) 1) one motor driving reverse, 2) one encoder being backwards and the 3) IMU being mounted in the wrong orientation. In the end I don't know which of those was the culprit but my writeup above took me through a methodical troubleshoot which eventually allowed me to solve it.

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

3 participants