Open davidhsu-thu opened 4 years ago
Do you have a different Python interpreter selected in Preferences > Main interpreter
?
I have the identical problem, and the Interpreter is selected to be Default (same as Spyder).
The setting in my Spyder is the same as @colinww mentioned. I do not have a different Python interpreter selected in Preferences > Main interpreter. The interpreter is selected to be Default (same as Spyder).
On issue #11260 @jjhelmus said:
For what is is worth, the 3.7.0 version is coming from the python binary in the python.app package.
That's really helpful! I think I know how to fix this.
@steff456, please take a look at this one. It only happens in macOS.
I can't reproduce this issue with the latest 4.x
In an environment with python 3.7.0 I get the version that it is
And in python 3.7.5,
@davidhsu-thu, what are your versions of python
and python.app
?
Hello @steff456, I am still seeing the issue although my python.app got updated when I updated to spyder 4.1.2, so now the banner message is different. It seems in your two envs, perhaps your python.app and python versions are changing in lock step? Somehow my env got out of sync, I don't use pip or conda-forge, just vanilla channels.
I did some digging into the issue, it appeared to me at the time that the banner message is generated during startup sequence from python.app, not the actual python that will be used by the shell. However it seems to be a benign issue, since my shell has always used the correct version of Python (the version I select). Here is what I found: https://github.com/spyder-ide/spyder/issues/11260 The manifestation of the bug at the time made me unable to launch spyder, but the root cause seems to be the same.
This is what I see from launching spyder now (with default interpreter selected).
Again because right now this seems to be a cosmetic bug, it's OK with me... thank you!
This is what IPython Console showed on my computer.
Unfortunately we've been unable to reproduce this one.
Description
What steps will reproduce the problem?
After initialing, The IPthon Console shows me "Python 3.7.0 (default, Jun 28 2018, 07:39:16)" I print sys.version which shows me "3.7.5(default, Oct 25 2019, 10:52:18)" In addition, at the bottom of Spyder 4, it shows "conda: base(Python 3.7.5)" It seems that the version showed in the Ipython Console is incorrect.
Versions
Dependencies