1

When i open Spyder from the terminal with the command Spyder, it is opening the Spyder Python 3.7 console, however whenever I'm opening .py files with SPyder, it is by default opening with Spyder 2.7.

I've already checked version of the Spyder along with my Anaconda version. Even in my Ubuntu, the python version is 3.7+

PV8
  • 5,799
  • 7
  • 43
  • 87
Strayhorn
  • 687
  • 6
  • 16

1 Answers1

0

Spyder is using the python command as default, which on Linux defaults to python 2.7. To fix this, set the python command to mean python 3 or whichever version you'd like.

Legorooj
  • 2,646
  • 2
  • 15
  • 35
  • ? Ok then.... Does Spyders settings have a default version option? I'm not familiar with it - I use pycharm – Legorooj Sep 30 '19 at 07:56