Skip to content

Playwright 1.12.1 can't get installed under Alpine Linux via PIP #792

@budsee

Description

@budsee

Context:

Playwright Version: 1.12.1
Operating System: Ubuntu 20.04 container in Apple M1 Chip Machine
Python 3.9.5
Browser: All
Extra: [any specific details about your environment]

I can't install playwright 1.12.1 using pip when I am in container, i.e. ubuntu or alpine, etc The latest version I would get is

[ 9/12] RUN pip install playwright==1.12.1:
#12 1.309 ERROR: Could not find a version that satisfies the requirement playwright==1.12.1 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.7.0, 0.7.1, 0.8.0, 0.140.0, 0.142.0, 0.142.1, 0.142.2, 0.142.3, 0.150.0, 0.151.0, 0.151.1, 0.152.0, 0.162.0, 0.162.1, 0.162.2)
#12 1.309 ERROR: No matching distribution found for playwright==1.12.1

I think 0.162.2 is the last version that has a general *.tar.gz in pip. The later version are OS specific like linux, macOS, Win. I suspect it's due to me running a Linux container in Apple M1 chip machine which is why it said it cannot find the latest version. How can I install 1.12.1 in the container?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions