can't install on Alpine3.12
See original GitHub issue# python -m playwright install
Traceback (most recent call last):
File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/site-packages/playwright/__main__.py", line 17, in <module>
main()
File "/usr/local/lib/python3.8/site-packages/playwright/main.py", line 145, in main
st = os.stat(driver_executable)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/site-packages/playwright/drivers/driver-linux'
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Can't install Python package on Alpine Docker anymore
You are trying to use the python (alias) library instead of python3 . Try to use apk update && apk upgrade && apk...
Read more >Image Layer Details - python:3.8.5-alpine3.12 | Docker Hub
python:3.8.5-alpine3.12 ... ADD file ... in /. 2.66 MB. 2. CMD ["/bin/sh"] ... /bin/sh -c apk add --no-cache. 274.78 KB.
Read more >How to install curl on Alpine Linux - nixCraft
Installing curl on Alpine. Open the terminal application. For remote server use the ssh command for login purposes. For instance:
Read more >[Docker Course 4-13] Issue on npm install step
Hello there, I've facing an issue while installing the app ... FROM node:14.19.0-alpine3.14 #RUN apk add sudo WORKDIR /app/ #Does not work: ...
Read more >Unable to install proj related Python packages in a Linux ...
1-alpine3.12][1] . Error is, e.g. for pyproj itself here: # pip install -U pyproj Collecting pyproj>= ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for reporting this!
The driver executable was not download when
pip install playwright
was run. This is because the Python wheel does not support non-glibc based Linux distributions (including Alpine). Relevant issue and this article. I’m seeing this workaround in some public Dockerfiles based on Alpine, but it is probably not recommended.We would have to rethink packaging to be able to support Alpine.
Is Alpine still out of scope?