Windows XP SP3 下安装不成功? #120

Closed
nuomi1 opened this Issue Mar 1, 2013 · 5 comments

4 participants

@nuomi1

Traceback (most recent call last):
File "E:\PortableApps\you-get\setup.py", line 11, in
README = open(os.path.join(here, 'README.txt')).read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xb0 in position 1012: illegal multibyte sequence

好吧……

@soimort
Owner
  1. Windows的代码页问题。安装之前先set PYTHONIOENCODING=utf-8

  2. you-get不需要安装就能用,

python you-get
@soimort soimort closed this Mar 1, 2013
@twlz0ne

昨天写了一个简单粗暴的one-click-install-you-get-on-windows.bat,没有设置PYTHONIOENCODING,在32bit vista和64bit win7下都正常工作,xp sp3待验证。

@soimort
Owner

多年不用Windows了

Win对字符编码的处理方式真心理解不能……

@lwkai

现在GITHUB要求装.NET 4.5 可是 .NET 4.5 已经不支持XP了,中国国内还是有很大一部分人在用 XP啊。这不知道GITHUB 是不是想放弃这部分用户了。

@nuomi1

@lwkai 已转战 MacBook Pro……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment