我正在阅读Zed Shaw的《笨办法学Python》第一章,并且已经卡住了。我可以在命令行中运行Python,但是当我尝试在Windows PowerShell中运行它时,会出现以下错误:
python : Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
At line:1 char:1
+ python
+ ~~~~~~
+ CategoryInfo : NotSpecified: (Python 3.7.3 (v...ntel)] on win32:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
任何建议都受欢迎。现在我将继续使用命令行,但很想弄清楚PowerShell。
PATH
路径?并且你只是在尝试在PowerShell中输入python
作为命令,而没有其他操作吗? - Reedinationer