MacOS won't let me run PyOxy

154 views
Skip to first unread message

Paul Romer

unread,
Jun 8, 2022, 3:16:31 PM6/8/22
to pyoxidizer-users
I downloaded to my Mac and opened several versions of PyOxy 0.20 -- universal and x86, python3.9 and python3.10.

Each had a pyoxy executable with a creation date of Jan 1, 2022, which was not what I expected given that the releases page says that they were created 9 days ago.

When I tried to run the executable, in each case I got this message: 

"pyoxy" can't be opened
because Apple cannot check it
for malicious software.
This software needs to be updated.
Contact the developer for more
information.

This could mean that the files are not signed, or that as someone who is new to pyoxidizer, I'm making some very basic mistake.

Any suggestions about how to proceed would  be much appreciated.


Paul Romer

unread,
Jun 8, 2022, 3:34:45 PM6/8/22
to pyoxidizer-users
I also tried a download of one of the distributions:
      cpython-3.10.4+20220528-x86_64-apple-darwin-install_only.tar.gz

I got a related, but slightly different error message that also suggests a problem with signing:

       “python3.10” cannot be opened because the developer cannot be verified.
        macOS cannot verify that this app is free from malware.

Paul Romer

unread,
Jun 8, 2022, 3:36:46 PM6/8/22
to pyoxidizer-users
I'm running macos 12.4.

It is possible that this version of macos has a more stringent rule for verifying signatures than previous versions on which these files were tested.

Bede Constantinides

unread,
Jun 21, 2022, 8:01:58 PM6/21/22
to pyoxidizer-users
Paul, did you try going into Settings -> Security and Privacy and clicking "allow anyway" to the prompt about pyoxidizer? Works for me on MacOS 12.4

Gregory Szorc

unread,
Jun 21, 2022, 8:58:04 PM6/21/22
to Paul Romer, pyoxidizer-users
This is possibly the "com.apple.quarantine" extended file attribute set by your browser on file download preventing the executable from running.

Try running `xattr -d com.apple.quarantine /path/to/pyoxy` to clear the attribute.

The macOS executables are signed with a Developer ID Application certificate. They should pass Apple's signing requirements for ad-hoc distribution. I confirmed that a macOS 12.4 machine without any of my personal code signing certificates is able to run these binaries just fine without macOS complaining.

--
You received this message because you are subscribed to the Google Groups "pyoxidizer-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyoxidizer-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyoxidizer-users/d9b3c3ec-a4d4-48c5-94f0-be086c28a29dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages