Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 879
user2022365 Avatar asked Feb 15 '23 16:02

user2022365


2 Answers

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.

like image 197
Carlos Cordoba Avatar answered Feb 17 '23 06:02

Carlos Cordoba


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.

like image 25
jengel Avatar answered Feb 17 '23 07:02

jengel