question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

playwright._impl._api_types.Error: Host system is missing dependencies!

See original GitHub issue

environment

CentOS Linux release 7.9.2009 (Core) Python 3.7.3 playwright==1.8.0a1

playwright._impl._api_types.Error: Host system is missing dependencies!

  Missing libraries are:
      libatk-1.0.so.0
      libatk-bridge-2.0.so.0
      libxkbcommon.so.0
      libXcomposite.so.1
      libXdamage.so.1
      libXfixes.so.3
      libXrandr.so.2
      libgbm.so.1
      libgtk-3.so.0
      libgdk-3.so.0
      libpango-1.0.so.0
      libcairo.so.2
      libatspi.so.0
      libxshmfence.so.1

Note: use DEBUG=pw:api environment variable and rerun to capture Playwright logs.

During handling of the above exception, another exception occurred:

yum -y install libatk-1.0.so.0 libatk-bridge-2.0.so.0 libxkbcommon.so.0 libXcomposite.so.1 libXdamage.so.1 libXfixes.so.3 libXrandr.so.2 libgbm.so.1 libgtk-3.so.0 libgdk-3.so.0 libpango-1.0.so.0 libcairo.so.2 libatspi.so.0 libxshmfence.so.1

This problem is still displayed after installing dependencies

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
djravinecommented, Jun 8, 2021

Issue fixed by installing each module (Needed to google search each one seperately)

Docker image using Debian GNU/Linux 10

apt-get install -y gstreamer1.0-libav libnss3-tools libatk-bridge2.0-0 libcups2-dev libxkbcommon-x11-0 libxcomposite-dev libxrandr2 libgbm-dev libgtk-3-0

5reactions
dmf-codecommented, Feb 15, 2021

solution

yum -y install libappindicator-gtk3
yum -y install liberation-fonts
Read more comments on GitHub >

github_iconTop Results From Across the Web

playwright._impl._api_types.Error: Host ... - Stack Overflow
Error : Host system is missing dependencies! Missing libraries are: libnss3.so libnssutil3.so libsmime3.so libnspr4.so libatk-1.0.so.0 libatk- ...
Read more >
Playwright module missing dependencies : Forums
When running, it uses playwright and I run into this issue: `playwright._types.Error: Host system is missing dependencies!
Read more >
playwright._impl._api_types.error - You.com | The Search ...
Error : Host system is missing dependencies?? Asked Jul 29, 2021 • 1 votes 2 answers. QUESTION ANSWERS.
Read more >
Missing libraries when running Microsoft's python-playwright!
playwright is a python library by Microsoft. I installed it using conda on OpenSUSE Leap 15.3 ... Error: Host system is missing dependencies!...
Read more >
HISTORY.md · master · RocketChat / Rocket.Chat - OW2 Gitlab
Add the corresponding options to hide each new system message and the missing ujt and ult hide options. Bug fixes. 2FA via email...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found