Skip to content

ros2bag-convert ModuleNotFoundError #10

@benjinne

Description

@benjinne

When running the command I keep getting:

Traceback (most recent call last):
  File "/usr/local/bin/ros2bag-convert", line 5, in <module>
    from ros2bag_convert.main import main
ModuleNotFoundError: No module named 'ros2bag_convert.main'

The executable exists under /usr/local/bin and it successfully installed with sudo pip install ros2bag-convert

sudo pip3 install ros2bag_convert
Collecting ros2bag_convert
  Using cached ros2bag_convert-0.1.0-py3-none-any.whl (9.9 kB)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from ros2bag_convert) (59.6.0)
Installing collected packages: ros2bag_convert
Successfully installed ros2bag_convert-0.1.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Does anyone have any suggestions?

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