First time here? Check out the FAQ!
1

Set Remote Python Version

I'm just starting to explore running Wing on a remote Rapberry Pi (3B+).

I've made a start but there's a lot to learn !1st problem - when I try to run the remote python shell it uses 2.7. How do I get it to use 3.5 as standard. ?

The project properties just says 'remote' I'm sure the answer is there somewhere but where ?

TIA

Iain

iainrs's avatar
71
iainrs
asked 2018-07-08 13:35:00 -0600
Wingware Support's avatar
4k
Wingware Support
updated 2019-03-13 09:47:29 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

Thanks - sortedIain

iainrs's avatar
71
iainrs
answered 2018-07-09 10:59:00 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

For remote hosts, the Python Executable is set in the Remote Host configuration.  Set that to the full path to the Python 3.5 executable.  This is often /usr/bin/python3, although you can be sure by running that Python interactively on the RaspPi and typing this:import syssys.executable

Wingware Support's avatar
4k
Wingware Support
answered 2018-07-09 08:47:00 -0600
edit flag offensive 0 remove flag delete link

Comments

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