标题: python库PIL安装问题 [打印本页] 作者: 春来 时间: 2016-2-19 09:40 标题: python库PIL安装问题 [attach]100070[/attach] 解决方法: 新建一个register.py文件 源码为
#
# script to register Python 2.0 or later for use with win32all
# and other extensions that require Python registry settings
#
# written by Joakim Loew for Secret Labs AB / PythonWare
#
# source:
# http://www.pythonware.com/products/works/articles/regpy20.htm
#
# modified by Valentine Gogichashvili as described in http://www.mail-archive.com/dist ... n.org/msg10512.html
import sys
from _winreg import *
# tweak as necessary
version = sys.version[:3]
installpath = sys.prefix