问题描述
我知道有一个但是,有没有,目前或计划,一个Microsoft Visual C ++编译器的Python 3.4或者Eve Microsoft Visual C ++编译器的Python 3.x的事情?
I know that there is a "Microsoft Visual C++ Compiler for Python 2.7" but is there, currently or planned, a Microsoft Visual C++ Compiler for Python 3.4 or eve Microsoft Visual C++ Compiler for Python 3.x for that matter? It would be supremely beneficial if I didn't have to install a different version of visual studio on my entire lab.
推荐答案
不幸的是,如果我没有在整个实验室安装不同版本的视觉工作室,这将是非常有益的。为了能够使用其他人提供的扩展模块,你将被迫使用官方编译器来编译Python。这些是:
Unfortunately to be able to use the extension modules provided by others you'll be forced to use the official compiler to compile Python. These are:
-
Visual Studio 2008 for Python 2.7。
请参阅:
Visual Studio 2010 for Python 3.4。
请参阅:
Visual Studio 2010 for Python 3.4.See: https://docs.python.org/3.4/using/windows.html#compiling-python-on-windows
请参阅:或
这允许你有一个编译器来为两个版本的Python,Python 2.x和Python 3.x构建你的扩展。
This allows you to have one compiler to build your extensions for both versions of Python, Python 2.x and Python 3.x.
这篇关于Microsoft Visual C ++编译器的Python 3.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!