First time here? Check out the FAQ!

Revision history  [back]

Since installing 7.2 python shell won't start

Since I installed Wing 7.2 (was on 7.1) I can't restart the embedded python shell tool or get debugging to work. The shell window output is:

Unknown option: -2
usage: C:\\repos\\tcl\\.venv\\Scripts\\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

This is using a custom python command line that points to a python executable in a virtualenv. This configuration worked fine in 7.1. The python I'm trying to start is version 2.7.17. It starts fine from a powershell console.

Since installing 7.2 python shell won't start

Since I installed Wing 7.2 (was on 7.1) I can't restart the embedded python shell tool or get debugging to work. The shell window output is:

Unknown option: -2
usage: C:\\repos\\tcl\\.venv\\Scripts\\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

This is using a custom python command line that points to a python executable in a virtualenv. This configuration worked fine in 7.1. The python I'm trying to start is version 2.7.17. It starts fine from a powershell console.