安装ez_setup.py时出现了这个问题:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 1: ordinal not in range(128)
Something went wrong during the installation.
See the error message above.
 
解决办法:
打开C:\Python27\Lib下的 mimetypes.py 文件,在default_encoding = sys.getdefaultencoding()前面添加:
:
)
)
 
注:解决方案转自https://code.csdn.net/snippets/147340
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-26
  • 2022-12-23
  • 2021-06-03
  • 2021-08-21
猜你喜欢
  • 2021-07-09
  • 2022-01-02
  • 2021-07-20
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2021-06-22
相关资源
相似解决方案