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

ImportError: No module named rosmaster.master_api on Win10

asked 2019-08-21 04:51:34 -0500

shige gravatar image

updated 2019-08-21 06:29:32 -0500

gvdhoorn gravatar image

Hi all,

I installed ROS on windows 10 according to "Instration on Win10". But I faced with "ImportError" when I run "roscore" command. Error message is following,

c:\opt\ros\melodic\x64\bin>roscore Traceback (most recent call last):
File "c:\opt\ros\melodic\x64\bin\roscore", line 36, in <module> from rosmaster.master_api import NUM_WORKERS ImportError: No module named rosmaster.master_api

I saw this issue. But it's on linux ! How can I fix this issue ?

With Best Regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-08-21 16:43:52 -0500

OoeyGUI gravatar image

In the console window, Did you run c:\opt\ros\melodic\x64\bin\setup.bat?

Could you post the output of:

set ROS

edit flag offensive delete link more

Comments

I had run "c:\opt\ros\melodic\x64\setup.bat" command on Visual Studio command prompt. But no message displayed ! And "c:\opt\ros\melodic\x64\bin\setup.bat" is missing, it is in "c:\opt\ros\melodic\x64\setup.bat". This batch file is correctly ?

shige gravatar image shige  ( 2019-09-09 05:16:20 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2019-08-21 04:51:34 -0500

Seen: 496 times

Last updated: Aug 21 '19