Python3 easyinstall error

When installing some supported packages in python3.2.2, usually got a error: (cannot remember clearly but like array object or so)

 

Try to change the following file:

%python%/Lib/distutils/command/build_scripts.py    line 15:

first_line_re = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')

to:

first_line_re = re.compile('^#!.*python[0-9.]*([ \t].*)?$')

Reproduced in: https: //www.cnblogs.com/kongs/archive/2011/11/14/2248415.html

Guess you like

Origin blog.csdn.net/weixin_33795806/article/details/93395269