Python in Power shell: cannot bring up a >>> python prompt even if I start powershell in the directory where python.exe is. This is not a PATH issue. It seems that python is opened but doesnt run. This is what I get:
PS C:\Users\cohen\appdata\local\programs\python\python310> python
python : Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32
At line:1 char:1
+ python
+ ~~~~~~
+ CategoryInfo : NotSpecified: (Python 3.10.5 (...MD64)] on win32:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Type "help", "copyright", "credits" or "license" for more information.