
These steps involve compiling and installing Python, PyQt5 etc. Here are some instructions to freeze Python applications that are compatible with versions of OS X earlier than the one that PyInstaller is used on.
#How to install pyqt5 for mac os mac os
Hopefully this helps others out with the QTWebengine and other missing dylib issues when packaging on mac with fbs. Make mac binaries with pyinstaller that are backwards-compatible on Mac OS X. I did not have to do much to fix the app besides copy some of my app resources from resources folder to the Macos folder after freezing. After turning on or restarting your Mac, immediately hold down the Option (Alt) key. Insert a bootable installer (USB flash drive) into a Mac that is connected to the Internet and compatible with the version of macOS you want to install.

I had previously tried the python 3.6.5 and it hadn’t worked either. 3.2 Install macOS On Intel Processor Steps. MacOS 64-bit installer: python-3.6.8-macosx10.6.pkg > conda list pyqt packages in environment at /anaconda3: Name Version Build Channel pyqt 5.9.2 p圓7h655552a2 > python Python 3.7.0 (default, Jun 28 2018, 07:39. I would like to play with QtMultimedia of PyQt5 but this does not work.

Also tried pyinstaller=3.6 and it did not work either. No module QtMultimedia Mac OS - Anaconda - Python 3.7 - PyQt5 projetmbc Published at Dev. This apparently has all the fixes which aren’t in the pinned requirements for pyinstaller=3.4 which FBS wants. Pip install pyinstaller=4.0 pyinstaller-hooks-contrib=2020.9 Then i did a force install of the newer pyinstaller=4.0 So tested a new minimal project with fbs python 3.8 and pyinstaller 4.0 and worked in linux so went to try it in Macos it was a big NOPE.jpg.Ĭouldn’t get pyinstaller 4.0 to work with python 3.8 in macosx cause of some weird setuptools oddities which was a long waste of time.Įnded up uninstalling homebrew pyqt and then grabbing the official installer from : Python Releases for macOS | ĭownload macOS 64-bit installer: python-3.6.8-macosx10.6.pkg macOS/OS X versions >10.11 have System Integrity Protection enabled by. Fix some path names when looking for sip stuff during.

So after months off and on of struggling with this nonsense was going to just fork fbs and make it work with python 3.8 and latest pyinstaller. brew install python3 install asio and tinyxml2 for Fast-RTPS brew install asio tinyxml2 install dependencies for robot state publisher brew install tinyxml eigen pcre poco OpenCV isn.
