Traceback (most recent call last):
File "/usr/share/python/lib/python2.7/site.py", line 563, in
main()
File "/usr/share/python/lib/python2.7/site.py", line 545, in main
known_paths = addusersitepackages(known_paths)
File "/usr/share/python/lib/python2.7/site.py", line 278, in addusersitepackages
user_site = getusersitepackages()
File "/usr/share/python/lib/python2.7/site.py", line 253, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/share/python/lib/python2.7/site.py", line 243, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/share/python/lib/python2.7/sysconfig.py", line 520, in get_config_var
return get_config_vars().get(name)
File "/usr/share/python/lib/python2.7/sysconfig.py", line 424, in get_config_vars
_CONFIG_VARS['userbase'] = _getuserbase()
File "/usr/share/python/lib/python2.7/sysconfig.py", line 182, in _getuserbase
return env_base if env_base else joinuser("~", ".local")
File "/usr/share/python/lib/python2.7/sysconfig.py", line 169, in joinuser
return os.path.expanduser(os.path.join(*args))
File "/usr/share/python/lib/python2.7/posixpath.py", line 260, in expanduser
userhome = pwd.getpwuid(os.getuid()).pw_dir
KeyError: 'getpwuid(): uid not found: 10047'
sh-4.2$
如何解决以上错误??