[英]Microsoft Visual Studio 2015 Interactive window
I'm running Microsoft Visual Studio 2015 and trying to run Python 3.4 - 64-bit but the interactive window shows <disconnected>
. 我正在运行Microsoft Visual Studio 2015并尝试运行Python 3.4-64位,但交互式窗口显示
<disconnected>
。 If I try to restart it - I get the following error: 如果我尝试重新启动它-我收到以下错误:
Method Not found:'Microsoft.VisualStudio.Text.SpanMicrosoft.VisualStudio.InteractiveWindow.IInteractiveWindow.WriteErro(System.String)'.
I've tried to reinstall the updated and appropriate python tool kit. 我试图重新安装更新的和适当的python工具套件。 I've even repaired my installation of visual studio.
我什至修理了Visual Studio的安装。 The interactive window is nonfunctional and I can't type anything into the window.
交互式窗口不起作用,我无法在该窗口中输入任何内容。 This is true if I change the interpreter to 2.7.
如果我将解释器更改为2.7,这是正确的。 Configure interactive window properties doesn't have any options that will connect it to the python interpreter.
配置交互式窗口属性没有任何将其连接到python解释器的选项。
Python Debug Interactive also doesn't work and gives the same error. Python Debug Interactive也不起作用,并给出相同的错误。 Right click > Highlighting code > send to interactive, in a
.py
file that is open (which runs fine) also gives same error. 右键单击>突出显示代码>发送到交互式,在打开的
.py
文件(运行正常)中,也会出现相同的错误。
我相信这是因为您需要安装一个单独的解释器(CPython,IronPython),如此处所述: https : //github.com/Microsoft/PTVS/wiki/PTVS-Installation
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.