質問編集履歴

1

実行したコマンドとエラーについて、違うコマンドとエラーを書いていました。正しいコマンドに書き直しました。

2024/06/21 04:26

投稿

usugita_san
usugita_san

スコア228

test CHANGED
File without changes
test CHANGED
@@ -28,85 +28,15 @@
28
28
  ```
29
29
 
30
30
  ### 発生している問題・分からないこと
31
- pip install pytest-playwright
31
+ pip install playwright==1.44.0
32
32
  のコマンドが失敗します。
33
33
 
34
34
 
35
35
  ### エラーメッセージ
36
36
  ```error
37
- C:\teratail_sample>pip install pytest-playwright
38
- Collecting pytest-playwright
39
- Using cached pytest_playwright-0.5.0-py3-none-any.whl.metadata (1.5 kB)
40
- INFO: pip is looking at multiple versions of pytest-playwright to determine which version is compatible with other requirements. This could take a while.
41
- Using cached pytest_playwright-0.4.4-py3-none-any.whl.metadata (1.5 kB)
42
- Using cached pytest_playwright-0.4.3-py3-none-any.whl.metadata (1.5 kB)
43
- Using cached pytest_playwright-0.4.2-py3-none-any.whl.metadata (1.5 kB)
44
- Using cached pytest_playwright-0.4.1-py3-none-any.whl.metadata (1.5 kB)
45
- Using cached pytest_playwright-0.4.0-py3-none-any.whl.metadata (1.5 kB)
46
- Using cached pytest_playwright-0.3.3-py3-none-any.whl.metadata (1.6 kB)
47
- Using cached pytest_playwright-0.3.2-py3-none-any.whl.metadata (1.6 kB)
48
- INFO: pip is still looking at multiple versions of pytest-playwright to determine which version is compatible with other requirements. This could take a while.
49
- Using cached pytest_playwright-0.3.1-py3-none-any.whl.metadata (1.6 kB)
50
- Using cached pytest_playwright-0.3.0-py3-none-any.whl.metadata (1.4 kB)
51
- Using cached pytest_playwright-0.2.3-py3-none-any.whl.metadata (1.4 kB)
52
- Using cached pytest_playwright-0.2.2-py3-none-any.whl.metadata (1.4 kB)
53
- Using cached pytest_playwright-0.2.1-py3-none-any.whl.metadata (1.4 kB)
54
- INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
55
- Using cached pytest_playwright-0.2.0-py3-none-any.whl.metadata (1.4 kB)
56
- Using cached pytest_playwright-0.1.2-py3-none-any.whl.metadata (8.4 kB)
57
- Using cached pytest_playwright-0.1.1-py3-none-any.whl.metadata (7.7 kB)
58
- Using cached pytest_playwright-0.1.0-py3-none-any.whl.metadata (7.0 kB)
59
- Using cached pytest_playwright-0.0.12-py3-none-any.whl.metadata (6.6 kB)
60
- Using cached pytest_playwright-0.0.11-py3-none-any.whl.metadata (6.6 kB)
61
- Using cached pytest_playwright-0.0.10-py3-none-any.whl.metadata (6.6 kB)
62
- Using cached pytest_playwright-0.0.9-py3-none-any.whl.metadata (6.6 kB)
63
- Using cached pytest_playwright-0.0.8-py3-none-any.whl.metadata (6.6 kB)
64
- Using cached pytest_playwright-0.0.7-py3-none-any.whl.metadata (5.5 kB)
65
- Using cached pytest_playwright-0.0.6-py3-none-any.whl.metadata (6.2 kB)
66
- Using cached pytest_playwright-0.0.5-py3-none-any.whl.metadata (5.2 kB)
67
- Using cached pytest_playwright-0.0.4.1-py3-none-any.whl.metadata (4.0 kB)
68
- Using cached pytest_playwright-0.0.4-py3-none-any.whl.metadata (2.8 kB)
69
- Using cached pytest_playwright-0.0.3-py3-none-any.whl.metadata (2.2 kB)
70
- Using cached pytest_playwright-0.0.2-py3-none-any.whl.metadata (1.1 kB)
71
- 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, pytest-playwright==0.3.0, pytest-playwright==0.3.1, pytest-playwright==0.3.2, pytest-playwright==0.3.3, pytest-playwright==0.4.0, pytest-playwright==0.4.1, pytest-playwright==0.4.2, pytest-playwright==0.4.3, pytest-playwright==0.4.4 and pytest-playwright==0.5.0 because these package versions have conflicting dependencies.
72
-
73
- The conflict is caused by:
74
- pytest-playwright 0.5.0 depends on playwright>=1.18
75
- pytest-playwright 0.4.4 depends on playwright>=1.18
76
- pytest-playwright 0.4.3 depends on playwright>=1.18
77
- pytest-playwright 0.4.2 depends on playwright>=1.18
78
- pytest-playwright 0.4.1 depends on playwright>=1.18
79
- pytest-playwright 0.4.0 depends on playwright>=1.18
80
- pytest-playwright 0.3.3 depends on playwright>=1.18
81
- pytest-playwright 0.3.2 depends on playwright>=1.18
82
- pytest-playwright 0.3.1 depends on playwright>=1.18
83
- pytest-playwright 0.3.0 depends on playwright>=1.18
84
- pytest-playwright 0.2.3 depends on playwright>=1.13
85
- pytest-playwright 0.2.2 depends on playwright>=1.13
86
- pytest-playwright 0.2.1 depends on playwright>=1.13
87
- pytest-playwright 0.2.0 depends on playwright>=1.13
88
- pytest-playwright 0.1.2 depends on playwright>=1.10.0
89
- pytest-playwright 0.1.1 depends on playwright>=1.10.0
90
- pytest-playwright 0.1.0 depends on playwright>=1.10.0
91
- pytest-playwright 0.0.12 depends on playwright>=1.9.0
92
- pytest-playwright 0.0.11 depends on playwright==1.8.0a1
93
- pytest-playwright 0.0.10 depends on playwright>=0.170.0
94
- pytest-playwright 0.0.9 depends on playwright>=0.0.4
95
- pytest-playwright 0.0.8 depends on playwright>=0.0.4
96
- pytest-playwright 0.0.7 depends on playwright>=0.0.4
97
- pytest-playwright 0.0.6 depends on playwright>=0.0.4
98
- pytest-playwright 0.0.5 depends on playwright>=0.0.4
99
- pytest-playwright 0.0.4.1 depends on playwright==0.0.4
100
- pytest-playwright 0.0.4 depends on playwright
101
- pytest-playwright 0.0.3 depends on playwright
102
- pytest-playwright 0.0.2 depends on playwright
103
-
104
- To fix this you could try to:
105
- 1. loosen the range of package versions you've specified
106
- 2. remove package versions to allow pip attempt to solve the dependency conflict
107
-
108
- ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
109
-
37
+ C:\teratail_sample>pip install playwright==1.44.0
38
+ ERROR: Could not find a version that satisfies the requirement playwright==1.44.0 (from versions: none)
39
+ ERROR: No matching distribution found for playwright==1.44.0
110
40
  ```
111
41
 
112
42
  ### 該当のソースコード