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

How can I use camoufox with PyInstaller to create standalone executables? #155

Open
hakunaMatata-haus opened this issue Jan 11, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@hakunaMatata-haus
Copy link

hakunaMatata-haus commented Jan 11, 2025

When using the command pyinstaller --onefile -n "test1.1" camoufox_test.py, the generated executable doesn't work, showing errors about missing files. Do we need to set up environment variables first, similar to how Playwright requires setup?

For example, with Playwright we need to:
$env:PLAYWRIGHT_BROWSERS_PATH="0"
playwright install chromium
pyinstaller -F main.py

I use Windows

Thank you very much for your work

@hakunaMatata-haus hakunaMatata-haus added the enhancement New feature or request label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant