文章目录
📖 介绍 📖
在 Docker 环境中安装
Playwright
,遇见过很多常见问题,但是今天安装playwright的时候却莫名的遇到报错提示:
“ERROR: Could not find a version that satisfies the requirement playwright (from versions: none) ERROR: No matchingdistribution found for playwright
”,并且在网上查找了各种解决方案后,包括更换 PyPI 镜像源、手动安装依赖包等,问题依然没有得到解决。
如果你也遇到过这些问题,不妨继续阅读本文。经过多次尝试,我终于找到了真正的原因…
🏡 演示环境 🏡
本文演示环境如下:
- 操作系统:Ubuntu 20.04
- Python版本:3.11.10
- Docker版本:20.10.7
- I