Python Run图标(右箭头)失败 [英] Python Run icon (right facing arrow) fails

查看:114
本文介绍了Python Run图标(右箭头)失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

找不到Python论坛......所以 


正在运行  Win7和  Python 3.6(32位)[PTVS 15.6.18045.1-15.0] 在VS Community 2017 Ver 15.6.0中的


VS IDE的第二个line包含Save和Save All。

在右侧,我看到我认为是一个向右运行的箭头。

但它链接到Attach ...命令并且没有'
激活运行命令。

我做错了什么? 

Bob




Bob

解决方案

嗨Bob,


欢迎来到MSDN论坛。


>>但它与Attach ...命令相关联,并且不会激活"运行"命令。


你遇到任何错误或弹出窗口?我试图在我身边测试这个,当我们第一次创建一个新的python应用程序时它会显示'Start',一旦我们点击它,它就会变成'Attach',如下面的



请在解决方案资源管理器中单击项目的  节点,然后选择  查看所有Python环境以打开所有python环境的Python环境窗口
,然后直接单击命令提示符,如下所示打开"运行"命令,检查它是否正常工作。



请尝试以下方法来解决问题bleshoot这个问题:


  1. 以管理员身份重新运行Visual Studio安装程序并更新到最新版本
  2. 重新运行VS安装程序并进行修复
  3. 选择另一个python环境,如3.6(64位)来测试附加功能
     


最好的问候,


萨拉


Can't find a Python forum ... so 

Running  Win7 and Python 3.6 (32-bit) [ PTVS 15.6.18045.1-15.0] 
in VS Community 2017 Ver 15.6.0
The VS IDE‘s second line contains the Save and Save All.
To the right I see what I think is a Run right pointing arrow.
But it is linked to the Attach … command and doesn’t 
activate the Run command.
Did I do something wrong? 

Bob


Bob

解决方案

Hi Bob,

Welcome to the MSDN forum.

>> But it is linked to the Attach … command and doesn’t activate the Run command.

Did you meet any error or popup? I tried to test this in my side and it display ‘Start’ when we firstly create a new python application, once we click it and it will change to ‘Attach’ like the following:

Please click the Python Environments node for a project in Solution Explorer and select View All Python Environments to open Python Environments windows with all python environments, then directly click the command prompt as below to open the Run command, check if it works fine or not.

Please have a try with the following to troubleshoot this issue:

  1. Re-run the Visual Studio Installer as administrator and update to the latest version
  2. Re-run the VS installer and repair it
  3. Select another python environment like 3.6 (64-bit) to test the Attach feature  

Best regards,

Sara


这篇关于Python Run图标(右箭头)失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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