I found out why python IDEs were so slow in my mac. It turns out that there are some back ends (qt, qt5, osx) that mess with the app nap and each typed command it takes about 10 secs to run.
To check it, run several times the following line:import time; start = time.time(); time.sleep(0.0005); print('dt = ', time.time() - start)
if it starts to take about 10 sec. then it can be fixed by:
conda install appnope
and this excruciating and annoying issue will be solved!
pip install "PyQt5>=5.10"
python -c "import mne; mne.sys_info()"should tell you
mayaviit will give you your PyQt5 version