Skip to content
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

[Bug]: fail to create standalone executables in macos system #2793

Closed
brooook6969 opened this issue Mar 19, 2025 · 1 comment
Closed

[Bug]: fail to create standalone executables in macos system #2793

brooook6969 opened this issue Mar 19, 2025 · 1 comment

Comments

@brooook6969
Copy link

Version

1.50.0

Steps to reproduce

Example steps (replace with your own):

  1. run following commands in macos terminal (macbook air M1)
PLAYWRIGHT_BROWSERS_PATH=0 playwright install chromium
pyinstaller -F main.py
  1. You should see the error come up:
SystemError: Failed to process binary '/Users/macbookair/Library/Application Support/pyinstaller/bincache00py31264bit/arm64/adhoc/no-entitlements/playwright/driver/package/.local-browsers/chromium-1155/chrome-mac/Chromium.app/Contents/MacOS/Chromium'!

Expected behavior

i expect see a binary file named 'main.ext' in dir dist

Actual behavior

SystemError: Failed to process binary '/Users/macbookair/Library/Application Support/pyinstaller/bincache00py31264bit/arm64/adhoc/no-entitlements/playwright/driver/package/.local-browsers/chromium-1155/chrome-mac/Chromium.app/Contents/MacOS/Chromium'!

Additional context

No response

Environment

- Operating System: [Ubuntu 22.04]
- CPU: [arm64]
- Browser: [All, Chromium, Firefox, WebKit]
- Python Version: [3.12]
- Other info:
@mxschmitt
Copy link
Member

Might be similar to #2683 - could you try with Pyinstaller v5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants