I am at Chapter One of Zed Shaw's Python the Hard Way book and I'm already stuck. I can run python in a command shell, but when I try to run it in PowerShell, I get this:
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
Any guidance appreciated. I'm going to move on using the command shell for now but would love to figure out PowerShell
You have to run Windows PowerShell, and not Windows PowerShell ISE.
The ISE is a script editor for PowerShell, and doesn't run python. Windows PowerShell (not ISE) does allow you to run python.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With