本机已安装VS2010编译器,cd c:\Python-3.5.2\externals\pywin32-220 在pywin32-220目录下的操作过程如下:
1) c:\> set path=%path%;C:\Python-3.5.2\PCbuild\win32
2) c:\> set MSSdk=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
3) c:\> set PATH=%PATH%;%MSSdk%\Bin
4) c:\> set DISTUTILS_USE_SDK=0
5) c:\> python setup3.py build -c msvc
6) c:\> python setup3.py --no-compile --skip-build --prefix C:\Python-3.5.2\PCbuild\win32
阅读(1620) | 评论(0) | 转发(0) |