I updated my mac’s OS from Catalina to Big Sur a few days ago. Since then, scripts that open a window with PyQt5 or PySide2 work as expected when started with IDLE’s File, Open Module command. But if I run them with a Terminal command or in Visual Studio Code, they start OK with no indications of trouble but no window ever opens. The Python icon appears in the Dock and Activity Monitor says a Python process is running and using 99% of a CPU. I have to Force Quit it to stop it. This happens even with the simplest scripts in the “basic” source code folder with the Learning PyQt book. I don’t know a lot about Python configuration. I probably didn’t get everything setup properly for the new OS. I’d appreciate suggestions.
macOS About shows: Version 11.0.1
python3 -V returns Python 3.9.0
(On mac, Python commands without a suffix name version 2 programs which comes with macOS. Version 3 commands have a “3” suffix.)
pip3 -V returns: pip 20.2.4
pip3 list returns:
In a Terminal window, %echo $PATH returns: