【问题标题】:Playwright python, version 1.18 not found when installing剧作家python,安装时找不到1.18版
【发布时间】:2022-01-23 16:48:42
【问题描述】:

S.O:Linux raspberrypi 5.10.63-v7+ armv7l GNU/Linux (Raspberry PI)

Python 版本:3.8

pip 版本:来自 /usr/lib/python3.8/site-packages/pip (python 3.8) 的 pip 21.3.1

我正在尝试安装 playwright,使用 pip install playwright 但此安装版本 0.162.2,尝试指定版本 pip install playwright==1.18.1 pypi.org 但找不到此版本。

我尝试更新和升级。但是什么都没有……

apt update && apt upgrade && pip install --upgrade pip

也试过/usr/bin/python3.8 -m pip install playwright

>>> from playwright._repo_version import version
>>> print(version)
0.162.2

【问题讨论】:

    标签: python pip playwright


    【解决方案1】:

    https://www.piwheels.org 是发布树莓派轮子的地方,而不是 PyPI。这是“剧作家”的轮子列表:https://www.piwheels.org/project/playwright/。 0.162.2 版是最新的可用版本(点击“显示更多版本”)。

    要从 PyPI 安装,请尝试从 PyPI 和 PiWheels 安装:

    pip install --index-url=https://pypi.org/simple/ --extra-index-url=https://www.piwheels.org/simple/ playwright
    

    【讨论】:

    • 我用你的线路试过了,但还是一样。谢谢!我想,那是因为amrv71不被playwright支持
    猜你喜欢
    • 2022-12-22
    • 2015-02-17
    • 2017-05-31
    • 2022-10-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-04
    相关资源
    最近更新 更多