Set Remote Python Version


31
views
1
8 days ago by
iainrs  
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
Community: Wing Python IDE

2 Answers


2
7 days ago by
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 sys
sys.executable
0
7 days ago by
iainrs  
Thanks - sorted
Iain
Please login to add an answer/comment or follow this question.

Similar posts:
Search »