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

Unable to run on Ubuntu 18.04 with ROS Melodic #4

Open
kushal2507 opened this issue May 2, 2022 · 1 comment
Open

Unable to run on Ubuntu 18.04 with ROS Melodic #4

kushal2507 opened this issue May 2, 2022 · 1 comment

Comments

@kushal2507
Copy link

I am trying to run this on ros-melodic with python 2.7 but I keep getting

AttributeError: module 'enum' has no attribute 'IntFlag' error

I see that it has only been tested on ROS-Noetic, so does this mean there is a dependency where it can only runon python 3.x or can it be run on python 2.x too?

@cliansang
Copy link
Owner

cliansang commented May 2, 2022

Hi @kushal2507
I have tested only on ROS-Noetic with Python 3.
Perhaps, editing the shebang line "#!/usr/bin/env python3" at the top of each python script and and the Python 3 specific syntax used in serial data processing (eg. b'POS') may solve your problem. But I haven't tested it until now!

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