python console with iPython very slow with qt4 backend on mac os x

已回答

Hi, 

With python 3.5 and python 3.6, I've noticed a considerable slow-down in the python console when using qt4 in ipython like this:

%gui qt

which gives me:

<PyQt4.QtGui.QApplication at 0x113372f78>

The first commands are still responding quick but after a few commands that only involve numpy and  a few array of size (512 x 512) it slows down, and without using display / graphics, and no import of matplotlib. If I don't use the qt backend but the default macosx then it's fine. 

It also happens when I change the backend with matplotlib imported and doing matplotlib.use('Qt4Agg')


Any idea what can cause such slow-down and how to fix? 

Thanks

1
Avatar
Permanently deleted user

I have a very similar problem. Any time matplotlib is imported I suffer extreme slow downs to the point where pycharm ipython is unusable.

0

Hi,

Thank you for contacting PyCharm support.

Please reproduce the problem and then upload your logs folder zipped (Help | Show Log in...) to https://uploads.services.jetbrains.com/ and provide the name of the zip file. Do you have any ThreadDumps in your logs folder? If no you need to record it manually as described here: https://intellij-support.jetbrains.com/entries/23348667

Looking forward to your reply.

Kind regards,

Sergey

https://www.jetbrains.com

The Drive to Develop

0
Avatar
Permanently deleted user

Hello Sergey,

 

I have actually submitted some sort of report here https://youtrack.jetbrains.com/issue/PY-31931, which has logs attached. Is this what you need? 

 

Thanks,

 

Tom

0
Avatar
Permanently deleted user

Sergey I have responded more fully at the youtrack link, but I have found when I click on any other program other than the IDE, the command completes. Otherwise it takes a few seconds for simple commands such as "3". 

0

请先登录再写评论。