Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python在PowerShell中无法键入脚本_Python_Powershell - Fatal编程技术网

Python在PowerShell中无法键入脚本

Python在PowerShell中无法键入脚本,python,powershell,Python,Powershell,我在键入python时出现此错误: PS C:\Users\zephy>python python:win32上的python 3.6.5(v3.6.5:f59c0932b4,2018年3月28日,16:07:46)[MSC v.1900 32位(英特尔)] 第1行字符:1 +蟒蛇 + ~~~~~~ +CategoryInfo:NotSpecified:(win32上的Python 3.6.5(v…ntel)]:字符串[],RemoteException +FullyQualifiedErro

我在键入python时出现此错误:

PS C:\Users\zephy>python python:win32上的python 3.6.5(v3.6.5:f59c0932b4,2018年3月28日,16:07:46)[MSC v.1900 32位(英特尔)] 第1行字符:1 +蟒蛇 + ~~~~~~ +CategoryInfo:NotSpecified:(win32上的Python 3.6.5(v…ntel)]:字符串[],RemoteException +FullyQualifiedErrorId:NativeCommandError 键入“帮助” “版权” C 有关详细信息,请单击“重拨”或“许可证”。 > >> 当我安装程序时,我点击了“添加到路径”

这是当前路径:

C:\Users\zephy\AppData\Local\Programs\Python\Python36-32


有什么建议吗?它可以很好地运行我创建的程序,但我无法运行任何脚本行,因为它无法加载。

我显然是在运行Powershell ISE

而不是

Powershell

我想这是有区别的。这是我第一天尝试编写代码的时候


谢谢你的建议

请将错误复制并粘贴为问题中的文本,而不仅仅是屏幕截图。同时,很难读取蓝色文本上的缩小红色文本,但看起来您启动的解释器很好至少我看到了横幅和
提示,虽然它看起来像是在启动的时候输入了几次,请复制。 PS C:\Users\zephy> python python : Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32 At line:1 char:1 + python + ~~~~~~ + CategoryInfo : NotSpecified: (Python 3.6.5 (v...ntel)] on win32:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Type "help" , "copyright", " c redits" or "license" for more information. > >>