Emlidtool ardupilot failed to launch

Hello everyone,

recently when i try to launch the emlidtool i get this error:

Failed to import the site module
Traceback (most recent call last):
File “/usr/lib/python3.5/site.py”, line 580, in
main()
File “/usr/lib/python3.5/site.py”, line 566, in main
known_paths = addusersitepackages(known_paths)
File “/usr/lib/python3.5/site.py”, line 287, in addusersitepackages
user_site = getusersitepackages()
File “/usr/lib/python3.5/site.py”, line 263, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File “/usr/lib/python3.5/site.py”, line 253, in getuserbase
USER_BASE = get_config_var(‘userbase’)
File “/usr/lib/python3.5/sysconfig.py”, line 595, in get_config_var
return get_config_vars().get(name)
File “/usr/lib/python3.5/sysconfig.py”, line 538, in get_config_vars
_init_posix(_CONFIG_VARS)
File “/usr/lib/python3.5/sysconfig.py”, line 410, in _init_posix
from _sysconfigdata import build_time_vars
File “/usr/lib/python3.5/_sysconfigdata.py”, line 6, in
from _sysconfigdata_m import *
ImportError: No module named ‘_sysconfigdata_m’

does anybody know how to fix it please?

Do you have _sysconfigdata_m.py present in/usr/lib/python3.5/plat-arm-linux-gnueabihf?

no it is not present. Can i get it back?

Yes, I think that the easiest solution is to reflash your device with the latest image.

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.