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

SyntaxError: unqualified exec is not allowed in function 'from_meta' it contains a nested function with free variables #50

Open
chrissunny94 opened this issue Jan 12, 2018 · 0 comments

Comments

@chrissunny94
Copy link

chrissunny94 commented Jan 12, 2018

I got the below error when i tried to run the launch file

roslaunch ros_arduino_python arduino.launch

Traceback (most recent call last): File "/home/chris/final_ws/src/ros_arduino_bridge/ros_arduino_python/nodes/arduino_node.py", line 23, in <module> from ros_arduino_python.arduino_driver import Arduino File "/home/chris/final_ws/src/ros_arduino_bridge/ros_arduino_python/src/ros_arduino_python/arduino_driver.py", line 29, in <module> from serial.serialutil import SerialException File "/usr/local/lib/python2.7/dist-packages/serial/__init__.py", line 17, in <module> from serial import errors, utilities, properties, meta, hooks, test, model File "/usr/local/lib/python2.7/dist-packages/serial/hooks.py", line 15, in <module> from serial import model File "/usr/local/lib/python2.7/dist-packages/serial/model.py", line 1406 exec('%s\n\n%s' % (imports, class_definition), namespace)

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

1 participant