You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to the enforced code signing on Apple Silicon. conda-pack is modifying the binaries but not updating the code signatures. Thus all relocated binaries will be killed by the Kernel. We need to call codesign or ldid on the newly relocated binaries in the conda-unpack script.
Just checking on this issue: was there progress on it or is there something that contributors willing to help could tackle? I'm not entirely clear on how the code signing procedure would work, would you try to move the original signature to the new binary? I imagine that probably it would not be allowed, security-wise, so I guess it means that you would sign the binaries again on the machine of the user running conda-pack ?
Thanks!
I imagine that probably it would not be allowed, security-wise, so I guess it means that you would sign the binaries again on the machine of the user running conda-pack ?
Yes, you will need to run ldid -S <binary> on any file where a prefix replacement has happened.
Checklist
What happened?
When I run conda pack on my M1, Python just crashes in the unpacked environment:
Output from the last step:
So things appear to crash when importing the site module.
Conda Info
Conda Config
Conda list
Additional Context
I'm running into this issue regardless of the Python version. I'm not running into this issue on linux, linux-aarch64 or windows.
The text was updated successfully, but these errors were encountered: