module ‘sysconfig‘ has no attribute ‘_get_default_scheme‘. Did you mean: ‘get_default_scheme‘?

问题:在python的sysconfig的模块没有’_get_default_scheme’这个方法。
module ‘sysconfig‘ has no attribute ‘_get_default_scheme‘. Did you mean: ‘get_default_scheme‘?_第1张图片
解决:在python安装路径下的lib中打开sysconfig.py这个文件,并把里面的’get_default_scheme’改为’_get_default_scheme’。
module ‘sysconfig‘ has no attribute ‘_get_default_scheme‘. Did you mean: ‘get_default_scheme‘?_第2张图片
module ‘sysconfig‘ has no attribute ‘_get_default_scheme‘. Did you mean: ‘get_default_scheme‘?_第3张图片
module ‘sysconfig‘ has no attribute ‘_get_default_scheme‘. Did you mean: ‘get_default_scheme‘?_第4张图片

你可能感兴趣的:(Python问题分析解决,python)