Win 10 user. I wrote a file (tik-tac-toe game) with spyder in anaconda. As I tried to run it with command prompt, I received "OSError: [WinError 193] %1 is not a valid Win32 application".
The modules I use are numpy, matplotlib and random. I used
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
which took quite a while. I'm not sure if there is an issue with the modules or other stuff.
python game.py
, for example - OneCricketeer