GLIBC version issues with playwright install

Question:
On a brand new repl, pip install playwright, then:

~/NanoFullNet$ playwright install
/home/runner/NanoFullNet/venv/lib/python3.10/site-packages/playwright/driver/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/NanoFullNet/venv/lib/python3.10/site-packages/playwright/driver/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/NanoFullNet/venv/lib/python3.10/site-packages/playwright/driver/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/NanoFullNet/venv/lib/python3.10/site-packages/playwright/driver/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libgcc_s.so.1)
~/NanoFullNet$ ldd --version
ldd (GNU libc) 2.35
$Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$Written by Roland McGrath and Ulrich Drepper.
~/NanoFullNet$ ls /usr/lib/x86_64-linux-gnu/libc-*
/usr/lib/x86_64-linux-gnu/libc-2.31.so
~/NanoFullNet$ 

Not sure why ldd --version and ls /usr/lib/x86_64-linux-gnu/libc-* are returning contradicting versions. Is the system using 2.35 or 2.31?

Any ideas on getting playwright to play nice with what replit is giving us?

Repl link:
https://replit.com/@ShopfuelMatt/NanoFullNet

2 Likes

I am facing same issue, is anyone able to find resolution ?