These are chat archives for spyder-ide/public

9th
Apr 2019
bronzecraft
@bronzecraft
Apr 09 00:18

@CAM-Gerlach My version of Spyder is 3.3.3, and I installed two envs in Anaconda. In the root env, the spyder-kernels package is 0.4.2 with a 3.7.3 version of Python, and in another env the spyder-kernels package is 1.0.1 with a 3.5.1 version of Python. I am doing some posting works by using Msc/Marc and Python, the Msc/Marc only support the 3.5.1 version(I test it and it cannot connect to the interface by using other Python versions, it was realy bad). and the detail after the message is "Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed. Without this module is not possible for Spyder to create a console for you.

You can install it by running in a system terminal:

conda install spyder‑kernels=0.*

or

pip install spyder‑kernels==0.*"

Is it mean the spyder-kernels is not matched with my Spyder or Python version? Should I change the version of spyder-kernels package? Thank you very much
bronzecraft
@bronzecraft
Apr 09 02:55
@CAM-Gerlach Thanks very much. I changed the spyder-kernel version, it worked!
CAM Gerlach
@CAM-Gerlach
Apr 09 02:58
Yup, you can't use Spyder-Kernels 1.x with Spyder 3.x, you have to use 0.x with Spyder 3 and 1.x with Spyder 4
paulgureghian
@paulgureghian_gitlab
Apr 09 22:16
Which Linux distro(s) are good and stable for Python, Anaconda, Spyder ? I have Mint.
CAM Gerlach
@CAM-Gerlach
Apr 09 22:45
No idea. We support any platform supported by Anaconda and our dependencies, since Spyder is pure-Python itself, and don't officially recommend any particular one.
paulgureghian
@paulgureghian_gitlab
Apr 09 22:45
What do you use ?
CAM Gerlach
@CAM-Gerlach
Apr 09 22:46
Shitty old Windows 8 and Win 10. Fedora 28 in my VMs.
paulgureghian
@paulgureghian_gitlab
Apr 09 22:47
I read that Fedora is good for coding
CAM Gerlach
@CAM-Gerlach
Apr 09 22:49
Any distro will work, they all have the same basic tools and the same main DEs. Unless you're doing system programming, the distro-level isn't too important other than being up to date, since you're doing basically everything through Anaconda anyway.
paulgureghian
@paulgureghian_gitlab
Apr 09 22:50
The new Anaconda is not working good on Win 7
CAM Gerlach
@CAM-Gerlach
Apr 09 22:50
Okay...?
"Not working good" [sic] is not a meaningful or actionable statement. Does Spyder work? If not, what specific error message or behavior do you observe?
paulgureghian
@paulgureghian_gitlab
Apr 09 22:52
Multiple issues. crashes on just creating an env, and of it gets past that stage, then crashes upon launching spyder, if it gets past that stage then cant import Keras ....
CAM Gerlach
@CAM-Gerlach
Apr 09 22:53
So Spyder crashes sometimes, but not all the time? Can you isolate exactly when Spyder crashes, and when it doesn't? Is this using Qt 5.9.7 or 5.9.6? We already went over that issue...
paulgureghian
@paulgureghian_gitlab
Apr 09 22:54
Even when I had qt set at 5.9.6 it launched but then could not import Keras
CAM Gerlach
@CAM-Gerlach
Apr 09 23:23
Well, if you open Jupyter QtConsole (e.g. open Anaconda prompt, activate your working environment, i.e. what you have set under Python interpreter > Use the following Python interpreter and open a Jupyter QtConsole instance with jupyter qtoconsole does importing keras it work, or not)?
paulgureghian
@paulgureghian_gitlab
Apr 09 23:40
Just installed Anaconda on Mint and I see the highest Spyder will go is 3.3.2 will 3.3.3 and / or 3.3.4 be available soon ?
CAM Gerlach
@CAM-Gerlach
Apr 09 23:55
Are you trying to install from the distro's package manager? As we make clear in the install guide, we do not recommend this as they are often quite out of date, as you may be seeing there. If you are using Anaconda, do conda install spyder=3.3.3 spyder-kernels=0.4.3 to force the latest version.