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

AttributeError: module 'ros2_graph' has no attribute '__main__'. #30

Open
tiko5000 opened this issue Oct 8, 2024 · 0 comments
Open

Comments

@tiko5000
Copy link

tiko5000 commented Oct 8, 2024

I followed the tutorial and when I run ros2 run turtlesim turtlesim_node and then in another terminal ros2_graph /turtlesim -o turtle_diagram.md I get the following error:

Traceback (most recent call last):
  File "/home/xxx/install/ros2_graph/bin/ros2_graph", line 33, in <module>
    sys.exit(load_entry_point('ros2-graph==0.0.3', 'console_scripts', 'ros2_graph')())
  File "/home/xxx/install/ros2_graph/bin/ros2_graph", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 173, in load
    return functools.reduce(getattr, attrs, module)
AttributeError: module 'ros2_graph' has no attribute '__main__'. Did you mean: '__name__'?
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