windows平台使用Microsoft Visual C++ Compiler for Python 2.7编译python扩展
2017-11-24 09:35
2131 查看
windows平台使用Microsoft Visual C++ Compiler for Python 2.7编译python扩展
转载地址:https://www.cnblogs.com/lazyboy/p/4017567.html。在windows平台上安装python c extension的扩展包是件很痛苦的事情,一般通过安装vc/vs系列来编译C扩展,不过安装包都比较大。或者通过mingw编译,不过有时会在兼容性上出现点问题。
有个好消息就是微软为Python提供了专用的编译器Microsoft Visual C++ Compiler for Python 2.7(包含32位和64位) 下载地址: http://aka.ms/vcpython27(这个貌似是进入官网了,然后搜索即可找到)
提示:在此感谢@ThunderEX的提醒,setuptools 6.0及后续版本可以自动识别Microsoft
Visual C++ Compiler for Python 2.7了,赶紧升级吧。如果不能升级,请参考下面的操作步骤。
1.下载完成并安装。以本机为例,安装完成后的路径为:
相关文章推荐
- windows平台使用Microsoft Visual C++ Compiler for Python 2.7编译python扩展
- windows平台使用Microsoft Visual C++ Compiler for Python 2.7编译python扩展
- Microsoft Visual C++ Compiler for Python 2.7真正下载地址
- Python Microsoft Visual C++ Compiler Package for Python 2.7
- Microsoft Visual C++ Compiler for Python 2.7
- Microsoft Visual C++ Compiler for Python 2.7真正下载地址
- Microsoft Visual C++ Compiler for Python
- Python: Windows下使用pip安装库出错:Microsoft Visual C++ 9.0 is required < Unable to find vcvarsall.bat
- InstallShield for Microsoft Visual C++ 6.0使用初探
- Python非官方扩展模块搜索方法(尤其是Windows平台下已编译好的模块)
- Installing C++ Boost on Microsoft Windows for Visual Studio .NET 2003/2005/Orcas
- windows平台下安装、编译、使用mongodb C++ driver 正常运行
- Python: Windows下pip安装库出错:Microsoft Visual C++ 9.0 is required < Unable to find vcvarsall.bat
- 在windows下为python2.7编译pyPgSQL (compile pyPgSQL for python2.7 in windows)
- 【python】 Windows下pip安装包报错:Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat
- 在windows下使用eclipse for c++来编译c/c++
- 在windows下使用 Visual Leak Detector for Visual C++ 2008的安装和配置
- cmake 编译opencv 出现 The C++ compiler "C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe
- windows下使用mingw编译python扩展模块
- 在windows下使用 Visual Leak Detector for Visual C++ 2008的安装和配置