macOS Sierra中Spyder 3的问题 [英] Problems with Spyder 3 in macOS Sierra
问题描述
我最近在macSierra上安装了最新的conda发行版.我遇到了很多问题:
I have recently installed the latest conda distribution on macSierra. I have encountered many problems:
1)我的主要担心是Spyder最终会崩溃,尤其是在应用程序之间切换并返回Spyder时,旋转的轮子永远旋转且无响应.使用约10分钟后,就会发生这种情况.我已经为ipython尝试过使用具有不同图形后端的spyder,但问题仍然存在.启动spyder时,会出现以下消息:
1) My main concern is that Spyder crashes eventually, especially when switching between applications and coming back to Spyder the rotating wheels keeps eternally spinning and unresponsive. This happens after ~10 minutes of use. I have tried spyder with different graphic backend for ipython and the problem still happens. When launching spyder the following message appears:
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
重复9次.
3)在绘制图形时,我在调用
3) When plotting figures, figures I create after calling
close('all')
立即打开并关闭.我以前从未遇到过这种行为.
open and close immediately. I never encountered this behaviour previously.
我的conda分发如下:
My conda distribution is the following:
platform : osx-64
conda version : 4.2.9
conda is private : False
conda-env version : 4.2.9
conda-build version : 2.0.2
python version : 3.5.2.final.0
requests version : 2.11.1
root environment : //anaconda (writable)
default environment : //anaconda
envs directories : //anaconda/envs
package cache : //anaconda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/osx-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/osx-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
offline mode : False
推荐答案
问题不在于Spyder本身,而在于Qt,即基于Spyder构建的图形库.
The problem is not with Spyder itself but with Qt, the graphical library on top of which Spyder is built on.
Anaconda中的当前Qt版本( 5.6.0 )不支持macOS Sierra.根据该 Github注释的第一个版本是 5.6.2 和 5.7.1 .
The current Qt version in Anaconda (5.6.0) does not support macOS Sierra. According to this Github comment, the first versions that do it are 5.6.2 and 5.7.1.
一旦Continuum(Anaconda背后的公司)将Qt更新为其中一个版本,我很确定您看到的那些奇怪问题将得到解决.
As soon as Continuum (the company behind Anaconda) updates Qt to one of these versions, I'm pretty sure those strange problems you're seeing will be solved.
这篇关于macOS Sierra中Spyder 3的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!