如何为Visual Studio 2015安装Python工具? [英] How can I install Python tool for visual studio 2015?

查看:636
本文介绍了如何为Visual Studio 2015安装Python工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为Visual Studio 2015安装python工具,那么应该继续进行新项目并选择python,Visual Studio会为您下载它,这应该是一件容易的事,但是会出现错误或它是什么?我不明白.我在做什么如下: 步骤01: 我去了这里.

步骤02: 出现一个框,以寻求安装许可.(说添加对python项目的支持,支持,调试等),然后单击安装"按钮,出现步骤03窗口.

步骤03: 出现此错误,没有任何反应.

我该怎么办? 是的,我需要安装cpython.

解决方案

撰写本文时,适用于Visual Studio 2015的Python工具的当前版本为2.2版,可以为此处找到其他版本,包括开发版本和Visual Studio较早版本的版本.. >

为了安装工具,您应该只下载适用于Visual Studio版本的MSI并执行它.安装程序将指导您完成所有操作.完成后,您只需重新启动Visual Studio即可使用该工具.

您还需要一个Python解释器,您可以在 python.org 中找到.

I was trying to install python tool for visual studio 2015, well it should have been an easy task just go on new project and choose python and visual studio would have downloaded it for you, but there some error coming or what is it i don't understand. What i am doing is as follows: Step 01: I went here.

Step 02: A box appears seeking for the permission to install.(It is says add support for python projects, support, debugging and more) and When I click on the install button step 03 window appears.

Step 03: This error comes up and nothing happens.

What should i Do? And yeah i need to install cpython.

解决方案

As of writing, the current release for Python Tools for Visual Studio 2015 is version 2.2, and can be downloaded here. Other releases, including development releases and versions for older versions of Visual Studio can be found here.

In order to install the tools, you should just download the MSI for your Visual Studio version and execute it. The installer will guide you through everything. Once it’s done, you just need to restart Visual Studio once and the tools will be available.

You also need a Python interpreter, which you can find on python.org.

这篇关于如何为Visual Studio 2015安装Python工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆