Kernel error after updating to Spyder 4.1

后端 未结 3 1075
鱼传尺愫
鱼传尺愫 2020-11-30 15:51

I updated spyder to 4.1 in anaconda through (conda update spyder), and it doesn\'t work unless I open it from the anaconda prompt, otherwise it shows this error:

A

相关标签:
3条回答
  • 2020-11-30 16:06

    Rollback Spyder 4.0.1 in python 3.7 environment and that should do the trick.

    0 讨论(0)
  • 2020-11-30 16:19

    ACK, I have observed the same.

    Another problems:

    1) There is not possible to close the outline panel. 2) Profiler is unable to profile, for example, this program (something with i/o redirection):

    def sum_of_harmonic_series(n):
        s = 0
        for k in range(n, 0, -1):
            s += 1 / k
        return s
    
    N = int(input("N: "))  # replace this line with N = 10000 as a workaround  
    print('sum = ', sum_of_harmonic_series(N))
    
    0 讨论(0)
  • 2020-11-30 16:21

    (Spyder maintainer here) This problem is a duplicate of this issue and it is fixed in our 4.1.1, released in March 19th 2020.

    0 讨论(0)
提交回复
热议问题