Why is Spyder so slow in OS X? Is there a way to make it faster?

不问归期 提交于 2019-12-07 17:14:16

问题


I have Spyder installed as part of the Anaconda Python analytics package and I'm finding the editor to be very slow. There's always a half-second lag time between key presses and the letter showing up on screen. I'm using Spyder on a fairly new i7 MacBook.


回答1:


This problem is generated by Qt, the graphical library Spyder is built upon. Not only Spyder but all applications that use Qt have shown this problem.

A detailed explanation of the problem can be found here where we are also trying to find a a solution.




回答2:


As Carlos mentioned, the problem is currently with Qt. Over the past couple months, people have found a workaround (answer #29) as the folks at Homebrew have a working distribution. People have found success installing qt on Mavericks with brew install pyqt and then installing spyder through pip with pip install spyder. That said, it seems that anaconda uses it's own version of Qt, so I haven't figured out yet how to get it working for the anaconda distribution. It seems either some sort of linking could work, or someone could create a conda package with a working pyqt in it.




回答3:


Spyder 3 beta 3 resolves the lag while typing in the editor under OSX.

https://github.com/spyder-ide/spyder/releases

conda update qt pyqt

conda install -c spyder-ide spyder==3.0.0b3



来源:https://stackoverflow.com/questions/19987543/why-is-spyder-so-slow-in-os-x-is-there-a-way-to-make-it-faster

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!