문제

On a fresh install of Anaconda on my Debian testing system, the IPython Qtconsole from Anaconda has a poor appearance compared to the Qtconsole from Debian (see below) when running on a Gnome3 desktop. Other Qt-based GUIs like matplotlib windows are affected as well.

I suspect that the PySide Qt binding from Anaconda is not properly configured to use the system's Gnome/Gtk theme as the Qt from Debian does. In particular, default font size is affected which is quite annoying.

I'd glad to hear how to make Anaconda's PySide to use the proper Gnome theme.

(see here for a larger image)

도움이 되었습니까?

해결책

It's possible that the Continuum built qt doesn't have the correct libraries built into it. Can you try building qt from https://github.com/continuumio/conda-recipes, and see if it helps? You'll need a C compiler, and also various libraries installed (there is a notes.md file that lists all the packages you need to install). You'll also probably need to rebuild shiboken and pyside (in that order) against your new qt, since rebuilding qt tends to break ABI (at least in my experience).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top