spyder3.0.2(anaconda3)内核死了,重启win10 64bit

时间:2016-12-19 12:19:38

标签: python windows kernel anaconda

当我在spyder上使用python3.5运行一个简单的代码时,我遇到了一个大问题。 下面是我的代码

import os
import chardet
import pandas as pd
def read():
    print("1")
    try:
        with open("temp.csv", 'rb') as f:
            typ = chardet.detect(f.read())
    except FileNotFoundError:
        print("nofile")
        os._exit(0)
    df=pd.read_csv("temp.csv",encoding=typ['encoding'])
    link=df["link"]
    data=[i for i in link]
    return data
read()

然后,我收到了这个消息。

  

内核死了,重启

我尝试重新安装anaconda但不起作用。 我在谷歌搜索这个问题,但没有解决方案。 这是我的依赖关系。有人可以帮我谢谢。

jedi >=0.8.1     :  0.9.0 (OK)
matplotlib >=1.0 :  1.5.3 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
numpy >=1.7      :  1.11.2 (OK)
pandas >=0.13.1  :  0.19.1 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pyflakes >=0.6.0 :  1.3.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
pylint >=0.25    :  1.5.4 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.5.1 (OK)
sympy >=0.7.3    :  1.0 (OK)

0 个答案:

没有答案
相关问题