ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In my case the problem was the PlatformIO plugin of vscode. When trying to launch a launch file from within vscode terminal the mentioned error appeared. Launching in a standard Ubuntu terminal works without errors. So for me the preliminary solution was uninstalling PlatformIO vscode plugin and restarting vscode.

I think PlatformIO creates its own Python environment.