Ask Your Question

Set Remote Python Version

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

iainrs's avatar

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 ?



edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

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

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

iainrs's avatar

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



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

Seen: 667 times

Last updated: Mar 07 '19