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]: issue with installing #34401

Open
devlop7 opened this issue Jan 20, 2025 · 1 comment
Open

[Bug]: issue with installing #34401

devlop7 opened this issue Jan 20, 2025 · 1 comment

Comments

@devlop7
Copy link

devlop7 commented Jan 20, 2025

Version

1.49.1 and others

Steps to reproduce

Installation Issue Report: Playwright


Steps to Reproduce

  1. Install Playwright using the following command:

    pip install playwright
    • The installation completes successfully without errors.
  2. Attempt to install the necessary browsers using:

    playwright install
    • No output appears, and nothing happens.
  3. Run a sample Python script using Playwright.

    • The script runs successfully, confirming that Playwright is installed.
  4. Convert the .py file into an .exe file using PyInstaller or a similar tool.

  5. Execute the generated .exe file.

    • An error appears stating that Playwright is not installed and suggests running:

      playwright install

Expected behavior

Expected Behavior

  • Running playwright install should install the required browser binaries and provide feedback.
  • The .exe file should execute without requiring additional installations.

Actual behavior

Actual Behavior

  • playwright install does not display any output or install the required components.
  • The .exe file fails to run due to missing Playwright dependencies and prompts for installation.

Additional Notes

  • The issue occurs after packaging the script into an executable.
  • The Playwright installation works within the Python environment but not when the script is converted to .exe.

Would appreciate any insights or solutions to resolve this issue.
Thank you!

Image

Additional context

No response

Environment

### **Environment Details**  

- **Operating System:** Windows 11  
- **Python Version:** _3.13.0 i use it then i try other it's the same 
@pavelfeldman
Copy link
Member

Running playwright install should install the required browser binaries and provide feedback.

This works for me, we need exact repro steps to act on the issue. All our customers are using it successfully every day.

The .exe file should execute without requiring additional installations.

That's not something we support, so this expectation is wrong.

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