Open Shulu-Chen opened 2 years ago
Hi @Shulu-Chen,
Does the gui show briefly, or not at all? Are you by chance running in a debugging/interactive environment (default in e.g., PyCharm, or Spyder). You could have a look here for several leads.
Another suggestion; since you are running on a clean environment, could you:
pip list
Hi @jooste,
Thanks for your help, I replaced the PyQt6 with PyQt5, then everything goes well on Windows! Just want to let you know that this issue only happens on the Windows side, while PyQt6 works well on macOS. Here is the pip list on my Windows:
Package Version
----------------- ---------
certifi 2022.6.15
colorama 0.4.5
commonmark 0.9.1
cycler 0.11.0
fonttools 4.37.1
geographiclib 1.52
geopy 2.2.0
kiwisolver 1.4.4
matplotlib 3.5.3
msgpack 1.0.4
numpy 1.23.2
packaging 21.3
pandas 1.4.4
Pillow 9.2.0
pip 22.1.2
ply 3.11
pygame 2.1.2
Pygments 2.13.0
PyOpenGL 3.1.6
pyparsing 3.0.9
PyQt5 5.15.7
PyQt5-Qt5 5.15.2
PyQt5-sip 12.11.0
PyQtWebEngine 5.15.6
PyQtWebEngine-Qt5 5.15.2
python-dateutil 2.8.2
pytz 2022.2.1
pyzmq 23.2.1
rich 12.5.1
scipy 1.9.1
setuptools 63.4.1
sip 6.6.2
six 1.16.0
textual 0.1.18
toml 0.10.2
tqdm 4.64.0
wheel 0.37.1
wincertstore 0.2
zmq 0.0.0
Can confirm I had the same issue on windows.
Hi @jtoledo1974, can you show the output of the command pip list
? This is a known problem with Qt6 on Windows, but not with all versions I think.
This was on a clean environment I created like
python311 -m venv venv venv\scripts\activate cd bluesky pip install -e .[full]
After it failed to load I uninstalled the qt6 packages to install the qt5 packages as mentioned by Shulu-Chen
Hello,
I want to update the BlueSky to the latest version. Clone and create a new env for it. I use
python 3.10
and installed all of the packages needed. It works well on macOS, but not ok on windows. The GUI would automatically be closed once I runbluesky.py
. No error shows out. Here is the running info:I guess it perhaps is the issue of OpenGL core or PyQt6 because the older version of BlueSky runs well on my Windows. Thanks a lot for your help!