Ask Your Question
0

ImportError: No module named rosmaster.master_api on Win10

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

shige gravatar image

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

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 -0600

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 imageshige ( 2019-09-09 05:16:20 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 32 times

Last updated: Aug 21