nipy / PySurfer

Cortical neuroimaging visualization in Python
https://pysurfer.github.io/
BSD 3-Clause "New" or "Revised" License
239 stars 98 forks source link

Qt error with Python 3.8.8 on MacOS 11.6 #306

Open joebathelt opened 2 years ago

joebathelt commented 2 years ago

A recent update to some software broke PySurfer for me. After initialising with 'ipython --pylab qt' and running 'from surfer import Brain', I get an error that reads:

Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication.

Afterwards, it just hangs indefinitely. Here are the software details:

PySurfer: latest Github version commit: f02cca8f1e10f21996ab85d292c8a423faa11af4 Qt: 6.1.3 Python: 3.8.8 OS: MacOS 11.6

Any help would be appreciated!