剧作家安装错误。点安装剧作家给出 没有匹配的分布"



当尝试从pypi网站上提到的pip install playwright安装时,我得到了错误

ERROR: Could not find a version that satisfies the requirement playwright (from versions: none) 
ERROR: No matching distribution found for playwright

在安装文档中提到使用pip install pytest-playwright。使用后,pip开始下载所有可用的版本(不是最新的或只有一个(,然后给出版本依赖关系相互冲突的错误。作为一个修复程序,我被要求从命令行中删除版本(我从未给出(。

我使用的是linux 32位,python 3.8解释器,pycharm venv

  1. pip install playwright是因为32位机器而不工作吗(然而,任何地方都没有提到它,或者我可能没有看到(
  2. pip install pytest-playwright出了什么问题

请帮忙。这里是带有pip install pytest-playwright的Shell输出。

pip install pytest-playwright
Collecting pytest-playwright
Using cached pytest_playwright-0.3.0-py3-none-any.whl (10 kB)
Using cached pytest_playwright-0.2.3-py3-none-any.whl (10.0 kB)
Using cached pytest_playwright-0.2.2-py3-none-any.whl (9.8 kB)
Using cached pytest_playwright-0.2.1-py3-none-any.whl (9.8 kB)
Using cached pytest_playwright-0.2.0-py3-none-any.whl (9.8 kB)
Using cached pytest_playwright-0.1.2-py3-none-any.whl (11 kB)
Using cached pytest_playwright-0.1.1-py3-none-any.whl (10 kB)
Using cached pytest_playwright-0.1.0-py3-none-any.whl (10 kB)
Using cached pytest_playwright-0.0.12-py3-none-any.whl (10 kB)
Collecting pytest
Using cached pytest-7.1.3-py3-none-any.whl (298 kB)
Collecting pytest-base-url
Using cached pytest_base_url-2.0.0-py3-none-any.whl (4.6 kB)
Collecting pytest-playwright
Using cached pytest_playwright-0.0.11-py3-none-any.whl (10 kB)
Using cached pytest_playwright-0.0.10-py3-none-any.whl (10 kB)
Using cached pytest_playwright-0.0.9-py3-none-any.whl (10 kB)
Using cached pytest_playwright-0.0.8-py3-none-any.whl (10 kB)
Using cached pytest_playwright-0.0.7-py3-none-any.whl (9.9 kB)
Using cached pytest_playwright-0.0.6-py3-none-any.whl (10 kB)
Using cached pytest_playwright-0.0.5-py3-none-any.whl (9.8 kB)
Downloading pytest_playwright-0.0.4.1-py3-none-any.whl (5.6 kB)
Downloading pytest_playwright-0.0.4-py3-none-any.whl (5.1 kB)
Downloading pytest_playwright-0.0.3-py3-none-any.whl (3.7 kB)
Downloading pytest_playwright-0.0.2-py3-none-any.whl (3.3 kB)
ERROR: Cannot install pytest-playwright==0.0.10, pytest-playwright==0.0.11, pytest-playwright==0.0.12, pytest-playwright==0.0.2, pytest-playwright==0.0.3, pytest-playwright==0.0.4, pytest-playwright==0.0.4.1, pytest-playwright==0.0.5, pytest-playwright==0.0.6, pytest-playwright==0.0.7, pytest-playwright==0.0.8, pytest-playwright==0.0.9, pytest-playwright==0.1.0, pytest-playwright==0.1.1, pytest-playwright==0.1.2, pytest-playwright==0.2.0, pytest-playwright==0.2.1, pytest-playwright==0.2.2, pytest-playwright==0.2.3 and pytest-playwright==0.3.0 because these package versions have conflicting dependencies.
The conflict is caused by:
pytest-playwright 0.3.0 depends on playwright>=1.18
pytest-playwright 0.2.3 depends on playwright>=1.13
pytest-playwright 0.2.2 depends on playwright>=1.13
pytest-playwright 0.2.1 depends on playwright>=1.13
pytest-playwright 0.2.0 depends on playwright>=1.13
pytest-playwright 0.1.2 depends on playwright>=1.10.0
pytest-playwright 0.1.1 depends on playwright>=1.10.0
pytest-playwright 0.1.0 depends on playwright>=1.10.0
pytest-playwright 0.0.12 depends on playwright>=1.9.0
pytest-playwright 0.0.11 depends on playwright==1.8.0a1
pytest-playwright 0.0.10 depends on playwright>=0.170.0
pytest-playwright 0.0.9 depends on playwright>=0.0.4
pytest-playwright 0.0.8 depends on playwright>=0.0.4
pytest-playwright 0.0.7 depends on playwright>=0.0.4
pytest-playwright 0.0.6 depends on playwright>=0.0.4
pytest-playwright 0.0.5 depends on playwright>=0.0.4
pytest-playwright 0.0.4.1 depends on playwright==0.0.4
pytest-playwright 0.0.4 depends on playwright
pytest-playwright 0.0.3 depends on playwright
pytest-playwright 0.0.2 depends on playwright
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
  1. 您可以在"下载文件";选项卡:https://pypi.org/project/playwright/1.25.2/#files
    在那里你会看到,不幸的是,没有为linux 32位构建轮子

  2. pytest-playwright尝试安装剧作家,但失败了,因为它找不到任何(与第一个问题相同(

最新更新