Ask Your Question
1

Set Remote Python Version

asked 2018-07-08 13:35:00 -0500

iainrs gravatar image

updated 2019-03-13 09:47:29 -0500

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

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2018-07-09 08:47:00 -0500

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

edit flag offensive delete link more
0

answered 2018-07-09 10:59:00 -0500

iainrs gravatar image

Thanks - sortedIain

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-07-08 13:35:00 -0500

Seen: 214 times

Last updated: Mar 07