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]: Installation fails on Ubuntu 24 with Python 3.12.3 #2179

Open
2 tasks done
emilienbev opened this issue Nov 3, 2024 · 2 comments
Open
2 tasks done

[Bug]: Installation fails on Ubuntu 24 with Python 3.12.3 #2179

emilienbev opened this issue Nov 3, 2024 · 2 comments
Labels
bug Something isn't working keep

Comments

@emilienbev
Copy link

Describe the bug

Issue

Playwright's installation fails on Ubuntu 24 due to missing packages, which are actually because upgraded ones are installed on the system.

E: Unable to locate package libicu70
E: Unable to locate package libffi7
E: Unable to locate package libx264-163
Failed to install browser dependencies
Error: Installation process exited with code: 100
Playwright Host validation warning: 
╔══════════════════════════════════════════════════════╗
║ Host system is missing dependencies to run browsers. ║
║ Missing libraries:                                   ║
║     libicudata.so.70                                 ║
║     libicui18n.so.70                                 ║
║     libicuuc.so.70                                   ║
╚══════════════════════════════════════════════════════╝

The issue is already documented here microsoft/playwright#30368 and the compatible version of Playwright is 1.48.0.

Additionally, main.py exits if an unsupported version of python is installed (specifically if major < 3 and minor not in [10, 11]), however it should also add the new Python 3.12.X versions to the mix as well.

Reproduction Steps

Run the installation steps on Ubuntu 24 LTS.

Expected behavior

Playwright's installation should succeed, and running main.py should not exit if the installed python version is superior to 3.11.X.

Screenshots

No response

System Information

Operating System : Ubuntu 24.04.1 LTS
Python version : Python 3.12.3
App version / Branch : master

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.

Additional Context

No response

Copy link
Contributor

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

@JasonLovesDoggo
Copy link
Collaborator

Will be fixed after #2180 gets rebased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keep
Projects
None yet
Development

No branches or pull requests

2 participants