Skip to content Skip to sidebar Skip to footer

Very Simple Program Crashing Python 3.5 And Spyder

xx = 0 n = 4294967295 while xx <= n: print('xx = ', xx, bin(xx)) xx += 1 This results in the following traceback: File '', line 1

Solution 1:

It seems that you are using ipython.

According to this page: https://github.com/ipython/ipython/issues/9168

you might run into a know issue and will be fixed in the next release. By the way, that program does not crash when I am running it in terminal.


Solution 2:

(Spyder developer here) This bug is not a Spyder bug but an ipykernel bug. It was fixed in ipykernel version 4.4, released in August 2016.

So please be sure to update to the latest ipykernel by running this command in a terminal (i.e cmd.exe)

conda update ipykernel

Post a Comment for "Very Simple Program Crashing Python 3.5 And Spyder"