There was a QTGamepad.Framework that didn't exist. Now there were errors in the process related to the QT frameworks that were located in /usr/local/lib/python3.6/site-packages/PyQt5/Qt/lib, so I manually copied those into the Library/Frameworks directory as well, but for some reason this did not capture all that were needed. Next, had to copy/paste the site-packages directory from the /usr/local/Cellar directory into the newly pasted Python.Framework. Hack Solution: copy/pasted my Python.Framework in my /usr/local/Cellar directory to the /Library/Frameworks directory I'll outline them in order and how I manually fixed them to get this app out the door:įirst, the Python.Framework was not found in my /Library/Frameworks directory (likely because homebrew only installs this in the /usr/local/Cellar directory). The main errors were that the files/directories the build process was looking for didn't exist. Issue: During the build/freeze process, I kept getting multiple errors that I would try and resolve one by one until I had completed everything. Using a setup.py script with the build or bdist_mac commands For a side project, I needed to build an OS X app from the Python app I wrote with PyQT5 that performs a simple script with a simple GUI.Įnvironment: latest python3 installed using homebrew on an OS X (Sierra 10.12) laptop. Quick preface: I'm newer to programming, but pretty comfortable with Python on Windows OS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |