Can't start roscore on Windows 10 installation
This is what I get. Help would be appreciated.
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.0
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
C:\Windows\System32>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
File "C:\opt\ros\melodic\x64\lib\site-packages\rosmaster\__init__.py", line 35, in <module>
from .main import rosmaster_main
File "C:\opt\ros\melodic\x64\lib\site-packages\rosmaster\main.py", line 43, in <module>
import rosmaster.master
File "C:\opt\ros\melodic\x64\lib\site-packages\rosmaster\master.py", line 47, in <module>
import rosmaster.master_api
File "C:\opt\ros\melodic\x64\lib\site-packages\rosmaster\master_api.py", line 72, in <module>
from rosmaster.util import xmlrpcapi
File "C:\opt\ros\melodic\x64\lib\site-packages\rosmaster\util.py", line 48, in <module>
from defusedxml.xmlrpc import monkey_patch
ImportError: No module named defusedxml.xmlrpc
C:\Windows\System32>
Thanks for the quick response. For the first edit (...rosmaster_init_py) which file would I edit? I have not found NUM_WORKERS or code in rosmaster_main with the error.
For the second issue, I have tried to choco install defused.xmlrpc but it is not at the default location.
@PeterVB, if you ever hit any problems of some dependencies not being installed correctly, you can run
c:\opt\ros\melodic\x64\setup.bat
to source the ROS install, and then runrosdep install --from-paths c:\opt\ros\melodic\x64\ --ignore-src -r -y
to let the tool examine and reinstall all the required libraries again.Yah, so none of that actually worked at all. I am still unable to use ROS.
Frustrating.