项目场景:
前几天,我在尝试着跑一个时间序列的项目,安装了 t s f r e s h tsfresh tsfresh 库,不知道啥原因在跑了很久之后(电脑配置不够高吧)。在看到还没跑出来结果,就把 s p y d e r spyder spyder 给关了; 当再次打开 s p y d e r spyder spyder 时出现如下图的警告:
问题描述:
s p y d e r spyder spyder c r a s h e d crashed crashed d u r i n g during during l a s t last last s e s s i o n session session. ( s p y d e r spyder spyder 崩溃了;)
原因分析:
- s p y d e r spyder spyder 可能是跑项目时跑崩了;
- 为了跑一个时间序列的项目也安装和更新了许多包,这样捣鼓也可能导致 s p y d e r spyder spyder 出现这种情况;
- s p y d e r spyder spyder 也有可能是在一个项目还在跑的过程中,没有点击暂停便退出了,所以导致出现这样的警告。
解决方案:
- 在 A n a c o n d a Anaconda Anaconda P r o m p t Prompt Prompt 中输入 s p y d e r − − r e s e t spyder --reset spyder−−reset,瞬间软件可以重新打开,但对于我出现的 b u g bug bug 还是没有解决;
- 在 A n a c o n d a Anaconda Anaconda P r o m p t Prompt Prompt 中输入 s p y d e r − − r e s e t spyder --reset spyder−−reset,再重新点击 s p y d e r spyder spyder 的图标也可以打开;但对于我出现的 b u g bug bug 依旧没有起作用;
- 在 A n a c o n d a Anaconda Anaconda P r o m p t Prompt Prompt 中输入 p i p pip pip i n s t a l l install install s p y d e r spyder spyder 进行更新,再重新双击打开 s p y d e r spyder spyder,依旧没解决我出现的问题;
- 在
A
n
a
c
o
n
d
a
Anaconda
Anaconda
P
r
o
m
p
t
Prompt
Prompt 中输入
s
p
y
d
e
r
−
−
r
e
s
e
t
spyder --reset
spyder−−reset,点击
R
e
s
e
t
Reset
Reset
S
p
y
d
e
r
Spyder
Spyder
S
e
t
t
i
n
g
s
Settings
Settings,会出现一串命令后关闭,然后继续在
A
n
a
c
o
n
d
a
Anaconda
Anaconda
P
r
o
m
p
t
Prompt
Prompt 中输入
p
i
p
pip
pip
i
n
s
t
a
l
l
install
install
−
i
h
t
t
p
s
:
/
/
p
y
p
i
.
t
u
n
a
.
t
s
i
n
g
h
u
a
.
e
d
u
.
c
n
/
s
i
m
p
l
e
s
p
y
d
e
r
-i https://pypi.tuna.tsinghua.edu.cn/simple spyder
−ihttps://pypi.tuna.tsinghua.edu.cn/simplespyder (使用清华国内镜像,下载速度快一些)完成更新,然而我的问题依旧是没解决;
- 就在我万念俱灰之下,我抱着最后一丝希望尝试了最后一种解决方案:首先在
A
n
a
c
o
n
d
a
Anaconda
Anaconda
P
r
o
m
p
t
Prompt
Prompt 中输入
s
p
y
d
e
r
spyder
spyder
−
−
s
h
o
w
−
c
o
n
s
o
l
e
--show-console
−−show−console,会把错误给打印出来,这时我找到了我的
s
p
y
d
e
r
spyder
spyder 出现
b
u
g
bug
bug 的原因,接着在
A
n
a
c
o
n
d
a
Anaconda
Anaconda
P
r
o
m
p
t
Prompt
Prompt 中输入
p
i
p
pip
pip
i
n
s
t
a
l
l
install
install
−
−
u
p
g
r
a
d
e
--upgrade
−−upgrade
j
u
p
y
t
e
r
jupyter
jupyter_
c
l
i
e
n
t
client
client,再次打开
s
p
y
d
e
r
spyder
spyder 便不会再出现警告。(
P
S
PS
PS:呜呜呜,终于解决了这个
b
u
g
bug
bug,这是煞费苦心呀,说来都是泪~)