These are chat archives for spyder-ide/public

20th
Jan 2019
Carlos Cordoba
@ccordoba12
Jan 20 00:54
@hofingermarkus, I removed old info from Contributing to Spyder wiki page and also pointed out to our guide. I also added Dev: Run from source (which basically points out to the guide again) and added it to Dev: Index. I think that covers all your concerns
priypath
@priypath
Jan 20 09:53
Hello, I have added new environment in anaconda i.e tensorflow and for that I need to change the python version from 3.7.1 to 3.6.8. But after the necessary changes done, I am not able to connect to IPython Console. An error message "An error ocurred while starting the kernel" is coming with no explaination. However, I am able to run the code from Anaconda prompt. Am I missing any installations in the Spyder IDE?? Can you please comment on this issue??
CAM Gerlach
@CAM-Gerlach
Jan 20 09:56
What is the actual error message below that? Can you provide a screenshot? Try conda update spyder qtconsole spyder-kernels at the Anaconda prompt in your environment.
priypath
@priypath
Jan 20 11:37
image.png
@CAM-Gerlach This is the error I am getting and I tried the command you mentioned above i.e. conda update spyder qtconsole spyder-kernels, but still I am getting the same error.
hofingermarkus
@hofingermarkus
Jan 20 17:22
If you are on Linux you can use the "which <program-name>" to check where a program resides. E.g. use "which ipython" to check if it truly is the one from the Anaconda environment. And also do those checks for spyder and if you installed tensorflow via pip, make sure that pip is installed inside this particular Anaconda environment (I've seen various strange errors arising from that...)
I guess the next step would be to run the qtconsole alone, without Spyder. It should be the consonsle used within Spyder if I'm not mistaken...
Which Spyder version is it that you are running?
hofingermarkus
@hofingermarkus
Jan 20 17:41
@ccordoba12 @CAM-Gerlach Thanks for the fast update of the wiki :)
CAM Gerlach
@CAM-Gerlach
Jan 20 18:22
@priypath Okay thanks; this appears to be spyder-ide/spyder#8581 then. Can you try conda install ipython=6 ipykernel=4 python=3.6.7 in your Tensorflow environment in Anaconda prompt (make sure to activate your-tensorflow-environment-name first) and see if that resolves it? I am going to do some testing to isolate the problem myself shortly.
Thanks for helping out @hofingermarkus !