-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 0.63.0: "Module object for pyimod02_importers is NULL!" #1199
Comments
That's because that binary was built on x86 instead of arm64. I normally do the release on an M1 machine but this time used an Intel Macbook. I haven't figured out how to build a universal binary with pyinstaller. I've built and uploaded a arm64 binary to the release page. Grab that one and give it a try. Honestly, I didn't think anyone actually used the pre-built binaries and I've been thinking about dumping these. I use pipx for my own install because it's a lot easier to upgrade. |
I try to stay away from language-specific package managers (pip, pipx, npm, etc.), because I’d just end up having to use 30 different package managers to keep all my stuff up to date. My main system-wide package manager is MacPorts, but sadly it doesn’t provide a port for I had expected the x86_64 binary to also work on arm64 via Rosetta, but apparently that doesn’t work. Thanks for uploading an arm64 binary! |
I looked at create a port for osxphotos but frankly, it looks like more work than I have time for at the moment. And it would need to be updated (and follow the very detailed Macports PR guidelines) frequently as I release a new version of osxphotos a couple times a month, sometimes more frequently. That's why I like pipx. I get it...I regularly use cargo, npm, and pipx for packages I use. I also use Mac ports and homebrew (because ports lacks so many packages that homebrew has). I tried for a while to standardize on Mac ports for my own Mac but many of the tools I need aren't available there. It's a lot to keep up with. Perhaps if I have more time in the future I can look into adding support for Mac Ports and/or homebrew. In the mean time I'll try to remember to add both x86 and arm binaries to the releases. |
If someone would create an initial port for MacPorts I wouldn’t mind keeping it up to date. I’d think that it should be possible to let a MacPorts port install this software without using another intermediate package manager (like I’ll ask on the MacPorts dev mailinglist if someone would be willing to create a Portfile for |
Describe the bug
When trying to run the pre-built binary of osxphotos 0.63.0, I get an error saying "Module object for pyimod02_importers is NULL!".
To Reproduce
Steps to reproduce the behavior:
osxphotos
binary.Expected behavior
I expected to see the
osxphotos
usage information, like I get with https://github.com/RhetTbull/osxphotos/releases/download/v0.62.3/osxphotos_MacOS_exe_darwin_arm64_v0.62.3.zip (linked on https://github.com/RhetTbull/osxphotos/releases/tag/v0.62.3).Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: