spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.28k stars 1.61k forks source link

Kernel died, res #8601

Closed devarshshah15 closed 5 years ago

devarshshah15 commented 5 years ago

Description

What steps will reproduce the problem?

I created a new environment called sem8 and then installed spyder in that environment to run files. Now whenever I try to run the kernel it gives the message as kernel died, restarting. Firstly I thought it was problem of memory but it could not run simple Hello World. I tried solutions on the web like disabling inbound rules for python.exe and pythonw.exe but nothing worked. Please help at the earliest.

Versions

Dependencies

pyflakes >=0.6.0  :  2.0.0 (OK)
pycodestyle >=2.3 :  2.4.0 (OK)
pygments >=2.0    :  2.3.1 (OK)
sphinx >=0.6.6    :  1.8.2 (OK)
rope >=0.9.4      :  0.11.0 (OK)
jedi >=0.9.0      :  0.13.2 (OK)
nbconvert >=4.0   :  5.3.1 (OK)
pandas >=0.13.1   :  0.23.4 (OK)
numpy >=1.7       :  1.15.4 (OK)
sympy >=0.7.3     :  None (NOK)
cython >=0.21     :  None (NOK)
qtconsole >=4.2.0 :  4.4.3 (OK)
IPython >=4.0     :  7.2.0 (OK)
matplotlib >=2.0.0:  3.0.2 (OK)
pylint >=0.25     :  2.2.2 (OK)
ccordoba12 commented 5 years ago

It looks like a duplicate of issue #8581. Could you confirm it?

devarshshah15 commented 5 years ago

No, I tried all the solutions in the method. I am unable to uninstall tensor flow by conda remove tensor flow. Moreover I am running spyder in other created environment not in base environment.

On Sun, Jan 20, 2019, 10:04 PM Carlos Cordoba <notifications@github.com wrote:

It looks like a duplicate of issue #8581 https://github.com/spyder-ide/spyder/issues/8581. Could you confirm it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/8601#issuecomment-455881159, or mute the thread https://github.com/notifications/unsubscribe-auth/AQs5xwWzMKd1n2Z_P4OHv2Wm8C46Maciks5vFJqkgaJpZM4aJmms .

ccordoba12 commented 5 years ago

Please give us the command you used to create your sem8 environment.

devarshshah15 commented 5 years ago

I can't remember the exact command but it was like conda create - - name sem8.....

On Mon, Jan 21, 2019, 8:52 PM Carlos Cordoba <notifications@github.com wrote:

Please give us the command you used to create your sem8 environment.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/8601#issuecomment-456109457, or mute the thread https://github.com/notifications/unsubscribe-auth/AQs5x9qMZqFhH_rh2qebBEJHI6hvwjGQks5vFdsxgaJpZM4aJmms .

ccordoba12 commented 5 years ago

Yeah, but what we need to know is what packages you installed on it.

devarshshah15 commented 5 years ago

Many starting with tensor flow, opencv, keras, matplotlib, numpy, pandas etc.

ccordoba12 commented 5 years ago

Closing because you're not giving us a reproducible way to generate the error you're having. If you can give us a step by step way to do it, then we could help you.

devarshshah15 commented 5 years ago

I myself don't know how the error popped out. I was just setting up the environment by installing different packages from anaconda prompt and all of them are running fine from anaconda prompt. Then I tried to install spyder from navigator in sem8 environment and also jupyter notebook and then I tried to open it from there and since then this error is showing. I tried all the steps but while updating spyder it gives an unknown error has occurred.

On Thu, Jan 24, 2019, 12:04 AM Carlos Cordoba <notifications@github.com wrote:

Closing because you're not giving us a reproducible way to generate the error you're having. If you can give us a step by step way to do it, then we could help you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/8601#issuecomment-456916050, or mute the thread https://github.com/notifications/unsubscribe-auth/AQs5x_nm0mHdivW3pgzNW1li74NZjsxxks5vGKs4gaJpZM4aJmms .

devarshshah15 commented 5 years ago

While running conda update spyder

On Thu, Jan 24, 2019, 12:13 AM Devarsh Shah <devarshshah98@gmail.com wrote:

I myself don't know how the error popped out. I was just setting up the environment by installing different packages from anaconda prompt and all of them are running fine from anaconda prompt. Then I tried to install spyder from navigator in sem8 environment and also jupyter notebook and then I tried to open it from there and since then this error is showing. I tried all the steps but while updating spyder it gives an unknown error has occurred.

On Thu, Jan 24, 2019, 12:04 AM Carlos Cordoba <notifications@github.com wrote:

Closing because you're not giving us a reproducible way to generate the error you're having. If you can give us a step by step way to do it, then we could help you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/8601#issuecomment-456916050, or mute the thread https://github.com/notifications/unsubscribe-auth/AQs5x_nm0mHdivW3pgzNW1li74NZjsxxks5vGKs4gaJpZM4aJmms .

ccordoba12 commented 5 years ago

As I said, if you can narrow down the specific things or packages that cause the kernel to die, then we could help you. Else, it's like trying to find a needle in a haystack, sorry.

In any case, your problem seems very similar to issue #8581 (as I said at the beginning), and we haven't found a solution for that yet.