First time here? Check out the FAQ!
1

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 ?

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.

Yuriy Aleksander's avatar
11
Yuriy Aleksander
asked 2017-11-26 19:16:00 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2019-03-13 10:05:25 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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

Chris Curvey's avatar
216
Chris Curvey
answered 2017-11-26 20:25:00 -0500
edit flag offensive 0 remove flag delete link

Comments

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
sys.executableâ

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 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer