Spyder anaconda 在 Linux 上因分段错误而崩溃

2022-01-10 00:00:00 python spyder anaconda

问题描述

我刚刚在 Linux 上安装了 Anaconda.尝试打开 spyder(从导航器或终端)时,它不起作用.当我尝试在终端中打开它时出现以下错误:

I just installed Anaconda on Linux. When trying to open spyder (either from navigator or terminal), it does not work. I get the following error when I try to open it in terminal:

分段错误(核心转储)

我完全更新了 Conda,但无法解决问题.我正在使用 Conda 4.5.5 和 Ubuntu 18.04.有什么想法吗?

I updated Conda completely but can't solve the problem. I am using Conda version 4.5.5 and Ubuntu 18.04. Any idea?


解决方案

(这里是Spyder维护者) 这个问题是显卡驱动有问题造成的,有两种方法可以解决:

(Spyder maintainer here) This problem is caused by faulty graphical card drivers and there are two ways to fix it:

  1. 更新到 Spyder 3.3 或更高版本.
  2. 用 conda 安装 pyopengl.

相关文章