为什么我无法运行在VS2015中创建的python解决方案? [英] Why i can not run a python solution created in VS2015?

查看:255
本文介绍了为什么我无法运行在VS2015中创建的python解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我正在使用VS 2015 Enterprise,并且可以在Python中创建新的解决方案-Python Application-,当我尝试运行它时,VS2015说:"Visual Studio 2015正在重新启动".并且不运行它,而是仅重新启动VS.该问题并未发生 其他语言,例如C ++

I am using VS 2015 Enterprise  and i can create a new solution in Python -Python Application- and when i try to run it, VS2015 said: "Visual studio 2015 is restarting" and does not run it but only restart VS .That problem did not happen with other language like C++

发生了什么,怎么解决?

What happened and what is the solution?

提前谢谢

路易斯


推荐答案

欢迎访问MSDN论坛.

要在VS 2015中运行Python应用程序,您需要安装适用于Visual的Python工具Studio通过修改Visual Studio 2015或工具-扩展和更新",然后安装 在运行第一个Python应用程序时使用Python解释器,然后通常可以运行一个新的空Python应用程序,如下所示.

To run the Python application in VS 2015, you need to install the Python Tool for Visual Studio through modify the Visual Studio 2015 or Tools-Extensions and Updates…, then install the Python interpreters when you run your first Python application, then you can normally run a new, empty Python application as below.

请参考您的描述,请检查您是否已安装Python解释器,可从控制面板-程序和功能.如果没有,请转到 下载Python页面并下载最新版本"3.5.2"并安装它,然后您还可以运行python应用程序,例如以下:

Refer to your description, please check you already installed the Python interpreters which you can found from Control Panel--Programs and Features. If not, please go to Download Python Page and download the latest version "3.5.2" and install it, then you can also run the python application like the following:

如果您已经安装了最新版本的Python,请检查您的VS Enterprise 2015版本,现在VS Enterprise 2015的最新版本为更新3,您可以转到 帮助-关于Microsoft Visual Studio,以检查您当前的VS版本,如果不是最新版本,请尝试下载 Visual Studio 2015 Update 3 并安装它,然后重新启动VS并再次运行它.

If you already installed the latest version of the Python, please check your VS enterprise 2015 edition, now the latest version for VS enterprise 2015 is update 3, you can go to Help-About Microsoft Visual Studio to check your current VS version, if not the latest one, please try to download Visual Studio 2015 Update 3 and install it ,then restart the VS and run it again.

如果您可以成功运行新的Python应用程序,但对于特定项目却失败,则说明表示此错误与该特定项目更相关,请上传 将项目 https: //onedrive.live.com/ 和 在此处共享链接,然后我们将尝试在我们这一边重现此问题.

If you can successfully run the new Python application, but failed for the specific project, that means this error more related to this specific project, please upload the project to https://onedrive.live.com/ and share the link here, then we will try to reproduce this issue on our side.

最好的问候,

Sara


这篇关于为什么我无法运行在VS2015中创建的python解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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