Skip to content

Can't install in Python 3.9.0 on Win 8.1 Pro #242

@RussellJQA

Description

@RussellJQA

I tried to install Playwright in CPython 3.9.0 on Microsoft Windows 8.1 Professional.

I did this by typing:
• pip install playwright
in a new Python virtual environment (in a terminal within VS Code 1.50.1).

Doing so gave me a fatal error:
c:\python39\include\pyconfig.h(201): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit code 2

The installation is apparently looking for some Visual Studio 14.0 (VS 2015) files.

On Playwright's PyPi.org page (https://pypi.org/project/playwright/):
• The Meta section says:
Requires: Python >= 3.7
• The 'Programming Language' section says:
Python::3
Python::3.7
Python::3.8

So it seems that maybe PyPi hasn't yet been updated with the binaries needed to install Playwright in Python 3.9.

I've attached the full output from 'pip install playwright'.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions