Discussion:
[spyder] It seems the kernel died unexpectedly. Use 'Restart kernel' to continue using this console. Spyder
Christos Chatzichristos
2014-11-05 14:58:10 UTC
Permalink
Hallo to everyone, i am quite new at Python so i like using Spyder which
resembles a lot to me Matlab and offers the possibility of breakpoints and
variables explorer which are really useful for debugging. But i face a
strange error - problem. Whenever i try to import a package for 3d
visualisation i receive an error such as :It seems the kernel died
unexpectedly. Use 'Restart kernel' to continue using this console.
I receive this error for example when i am trying

from dipy.viz import fvtk
or
from import mayavi.mlab as mmlab

when i execute the same commands from canopy or ipython i do not have an
error so it is something with Spyder, but i really like the debugging
options offered by Spyder so i would like to solve this problem
I am using Python 2.7.8 64 bits and Spyder 2.3.1
Thanks for your time
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Adrian Klaver
2014-11-05 21:45:29 UTC
Permalink
Post by Christos Chatzichristos
Hallo to everyone, i am quite new at Python so i like using Spyder which
resembles a lot to me Matlab and offers the possibility of breakpoints
and variables explorer which are really useful for debugging. But i face
a strange error - problem. Whenever i try to import a package for 3d
visualisation i receive an error such as :It seems the kernel died
unexpectedly. Use 'Restart kernel' to continue using this console.
I receive this error for example when i am trying
from dipy.viz import fvtk
Well the above works for me using Spyder 2.3.1 on openSUSE 13.1(64bit)
using Python 2.7.6
Post by Christos Chatzichristos
or
from import mayavi.mlab as mmlab
when i execute the same commands from canopy or ipython i do not have an
error so it is something with Spyder, but i really like the debugging
options offered by Spyder so i would like to solve this problem
I am using Python 2.7.8 64 bits and Spyder 2.3.1
We are going to need more information:

1) What OS(and version) are you using?

2) How did you install Spyder, dipy and mayavi?

3) Are you just importing the above packages or more?

4) Is there any traceback info?

5) If you start Spyder from a terminal, do you see any errors in the
terminal?
Post by Christos Chatzichristos
Thanks for your time
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
Adrian Klaver
***@aklaver.com
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Christos Chatzichristos
2014-11-12 13:46:13 UTC
Permalink
1. I use Mac OSX 10.9.4
2. I installed Spyder following the instructions from the site, and the
modules from easy instal
3. Yes the error occurs if i just import those packages, even on command
line or terminal
4. No just the message i posted
5. if i press open Spyder.app at the path where Spyder is located from the
Terminal i receive the following

<Loading Image...>
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Adrian Klaver
2014-11-12 14:40:33 UTC
Permalink
Post by Christos Chatzichristos
1. I use Mac OSX 10.9.4
2. I installed Spyder following the instructions from the site, and the
modules from easy instal
3. Yes the error occurs if i just import those packages, even on command
line or terminal
Now I am confused. Earlier you said these imports worked in Canopy or
IPython. I am not aware you cam import directly into a terminal, so what
are you referring to when you say the import fails?
Post by Christos Chatzichristos
4. No just the message i posted
5. if i press open Spyder.app at the path where Spyder is located from
the Terminal i receive the following
Seems Spyder is having locale issues. I am not a OS X user so I am not
going to be much help there.
Post by Christos Chatzichristos
<https://lh4.googleusercontent.com/-a7n8L0UgPs8/VGNkgYrDGTI/AAAAAAAAAAc/xScTbw8xv8M/s1600/Screen%2BShot%2B2014-11-12%2Bat%2B14.56.16.png>
Also, please next time do an actual cut and paste instead of a
screenshot. The content travels better.
--
Adrian Klaver
***@aklaver.com
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Christos Chatzichristos
2014-11-13 10:54:06 UTC
Permalink
Sorry I meant the Python console inside Python not terminal my mistake
Post by Adrian Klaver
Post by Christos Chatzichristos
1. I use Mac OSX 10.9.4
2. I installed Spyder following the instructions from the site, and the
modules from easy instal
3. Yes the error occurs if i just import those packages, even on command
line or terminal
Now I am confused. Earlier you said these imports worked in Canopy or
IPython. I am not aware you cam import directly into a terminal, so what
are you referring to when you say the import fails?
Post by Christos Chatzichristos
4. No just the message i posted
5. if i press open Spyder.app at the path where Spyder is located from
the Terminal i receive the following
Seems Spyder is having locale issues. I am not a OS X user so I am not
going to be much help there.
Post by Christos Chatzichristos
<
https://lh4.googleusercontent.com/-a7n8L0UgPs8/VGNkgYrDGTI/AAAAAAAAAAc/xScTbw8xv8M/s1600/Screen%2BShot%2B2014-11-12%2Bat%2B14.56.16.png>
Also, please next time do an actual cut and paste instead of a
screenshot. The content travels better.
--
Adrian Klaver
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Minh Tai Le
2015-07-22 09:21:59 UTC
Permalink
I fixed this problem. You should not use 'cv2.TM_CCOEFF' method.

Vào 19:54:06 UTC+9 Thứ Năm, ngày 13 tháng 11 năm 2014, Christos
Post by Christos Chatzichristos
Sorry I meant the Python console inside Python not terminal my mistake
Post by Christos Chatzichristos
Post by Christos Chatzichristos
1. I use Mac OSX 10.9.4
2. I installed Spyder following the instructions from the site, and the
modules from easy instal
3. Yes the error occurs if i just import those packages, even on
command
Post by Christos Chatzichristos
line or terminal
Now I am confused. Earlier you said these imports worked in Canopy or
IPython. I am not aware you cam import directly into a terminal, so what
are you referring to when you say the import fails?
Post by Christos Chatzichristos
4. No just the message i posted
5. if i press open Spyder.app at the path where Spyder is located from
the Terminal i receive the following
Seems Spyder is having locale issues. I am not a OS X user so I am not
going to be much help there.
Post by Christos Chatzichristos
<
https://lh4.googleusercontent.com/-a7n8L0UgPs8/VGNkgYrDGTI/AAAAAAAAAAc/xScTbw8xv8M/s1600/Screen%2BShot%2B2014-11-12%2Bat%2B14.56.16.png>
Also, please next time do an actual cut and paste instead of a
screenshot. The content travels better.
--
Adrian Klaver
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Loading...