Skip to content

rosrun doesn't work #2

@QAbot-zh

Description

@QAbot-zh

I followed the tutorial steps of the medium blog, but an error occurred when I try to rosrun:

[rosrun] Couldn't find executable named issue_cv_bridge.py below /home/zxy/py3_ws/install/share/ros_python3_issues

I try to put the issue_cv_bridge.py file to the folder /home/zxy/py3_ws/install/share/ros_python3_issues, then I get the error like that:

Traceback (most recent call last):
  File "/home/zxy/py3_ws/install/share/ros_python3_issues/issue_cv_bridge.py", line 21, in <module>
    bridge = cv_bridge.CvBridge()
  File "/home/zxy/py3_ws/install/lib/python3/dist-packages/cv_bridge/core.py", line 67, in __init__
    import cv2
ImportError: dynamic module does not define module export function (PyInit_cv2)
libgcc_s.so.1 must be installed for pthread_cancel to work
[1]    17936 abort (core dumped)  rosrun ros_python3_issues issue_cv_bridge.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions