Ask Your Question

After installing wing 6 IDE PRO on Ubuntu the python version showing up is 2.7?! Not 3.6, although I have 3.6 installed. How do I switch ?

asked 2017-11-26 19:16:00 -0600

Yuriy Aleksander's avatar

updated 2019-03-13 10:05:25 -0600

The help file for wing only seems to be written for Windows, which is not helpful at all. I have installed a Wing 6 Pro IDE and when I open the python shell it is a 2.7 instead of 3.6.Does anyone know the exact steps to switch it to 3.6 on Ubuntu distribution?

Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-11-26 20:25:00 -0600

Chris Curvey's avatar

Go to Project -> Project Properties. The first thing on the Environment tab is the path to the python executable to use.

edit flag offensive delete link more


To add to this, if you can't figure out what path to use either try python3.6 (which will work if python3.6 is on the PATH) or launch Python 3.6 outside of Wing and type this:

import sys

The value of sys.executable is what you want to use for the Python Executable in Wing's Project Properties.

Also, if you have Wing 101 then it's set instead in the dialog accessed with the Edit > Configure Python menu item (because Wing 101 does not have the concept of a project).

Wingware Support's avatar Wingware Support  ( 2017-11-26 20:48:00 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-11-26 19:16:00 -0600

Seen: 3,303 times

Last updated: Mar 07 '19