質問編集履歴

1

pipのエラーについてverboseオプションを実行

2021/03/26 09:25

投稿

atsu6
atsu6

スコア1

test CHANGED
File without changes
test CHANGED
@@ -66,6 +66,178 @@
66
66
 
67
67
 
68
68
 
69
+ #### -vをつけて実行
70
+
71
+
72
+
73
+ ```
74
+
75
+ C:\WINDOWS\system32>pip install -v Pillow
76
+
77
+ Using pip 21.0.1 from c:\python38\lib\site-packages\pip (python 3.8)
78
+
79
+ Non-user install because site-packages writeable
80
+
81
+ Created temporary directory: C:\Users\username\AppData\Local\Temp\pip-ephem-wheel-cache-hks29fcu
82
+
83
+ Created temporary directory: C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app
84
+
85
+ Initialized build tracking at C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app
86
+
87
+ Created build tracker: C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app
88
+
89
+ Entered build tracker: C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app
90
+
91
+ Created temporary directory: C:\Users\username\AppData\Local\Temp\pip-install-d39skl80
92
+
93
+ 1 location(s) to search for versions of pillow:
94
+
95
+ * https://pypi.org/simple/pillow/
96
+
97
+ Fetching project page and analyzing links: https://pypi.org/simple/pillow/
98
+
99
+ Getting page https://pypi.org/simple/pillow/
100
+
101
+ Found index url https://pypi.org/simple
102
+
103
+ Looking up "https://pypi.org/simple/pillow/" in the cache
104
+
105
+ Request header has "max_age" as 0, cache bypassed
106
+
107
+ Starting new HTTPS connection (1): pypi.org:443
108
+
109
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=4, connect=None, read=None, redirect=None, status=None)
110
+
111
+ Starting new HTTPS connection (2): pypi.org:443
112
+
113
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=3, connect=None, read=None, redirect=None, status=None)
114
+
115
+ Starting new HTTPS connection (3): pypi.org:443
116
+
117
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
118
+
119
+ Starting new HTTPS connection (4): pypi.org:443
120
+
121
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
122
+
123
+ Starting new HTTPS connection (5): pypi.org:443
124
+
125
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
126
+
127
+ Starting new HTTPS connection (6): pypi.org:443
128
+
129
+ Could not fetch URL https://pypi.org/simple/pillow/: connection error: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pillow/ (Caused by ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))) - skipping
130
+
131
+ Given no hashes to check 0 links for project 'pillow': discarding no candidates
132
+
133
+ Exception information:
134
+
135
+ Traceback (most recent call last):
136
+
137
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 171, in _merge_into_criterion
138
+
139
+ crit = self.state.criteria[name]
140
+
141
+ KeyError: 'pillow'
142
+
143
+
144
+
145
+ During handling of the above exception, another exception occurred:
146
+
147
+
148
+
149
+ Traceback (most recent call last):
150
+
151
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 318, in resolve
152
+
153
+ name, crit = self._merge_into_criterion(r, parent=None)
154
+
155
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _merge_into_criterion
156
+
157
+ crit = Criterion.from_requirement(self._p, requirement, parent)
158
+
159
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 83, in from_requirement
160
+
161
+ raise RequirementsConflicted(criterion)
162
+
163
+ pip._vendor.resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('Pillow')
164
+
165
+
166
+
167
+ During handling of the above exception, another exception occurred:
168
+
169
+
170
+
171
+ Traceback (most recent call last):
172
+
173
+ File "c:\python38\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 121, in resolve
174
+
175
+ self._result = resolver.resolve(
176
+
177
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 453, in resolve
178
+
179
+ state = resolution.resolve(requirements, max_rounds=max_rounds)
180
+
181
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 320, in resolve
182
+
183
+ raise ResolutionImpossible(e.criterion.information)
184
+
185
+ pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('Pillow'), parent=None)]
186
+
187
+
188
+
189
+ The above exception was the direct cause of the following exception:
190
+
191
+
192
+
193
+ Traceback (most recent call last):
194
+
195
+ File "c:\python38\lib\site-packages\pip\_internal\cli\base_command.py", line 189, in _main
196
+
197
+ status = self.run(options, args)
198
+
199
+ File "c:\python38\lib\site-packages\pip\_internal\cli\req_command.py", line 178, in wrapper
200
+
201
+ return func(self, options, args)
202
+
203
+ File "c:\python38\lib\site-packages\pip\_internal\commands\install.py", line 316, in run
204
+
205
+ requirement_set = resolver.resolve(
206
+
207
+ File "c:\python38\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 127, in resolve
208
+
209
+ six.raise_from(error, e)
210
+
211
+ File "<string>", line 3, in raise_from
212
+
213
+ pip._internal.exceptions.DistributionNotFound: No matching distribution found for Pillow
214
+
215
+ 1 location(s) to search for versions of pip:
216
+
217
+ * https://pypi.org/simple/pip/
218
+
219
+ Fetching project page and analyzing links: https://pypi.org/simple/pip/
220
+
221
+ Getting page https://pypi.org/simple/pip/
222
+
223
+ Found index url https://pypi.org/simple
224
+
225
+ Looking up "https://pypi.org/simple/pip/" in the cache
226
+
227
+ Request header has "max_age" as 0, cache bypassed
228
+
229
+ Starting new HTTPS connection (1): pypi.org:443
230
+
231
+ Could not fetch URL https://pypi.org/simple/pip/: connection error: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))) - skipping
232
+
233
+ Given no hashes to check 0 links for project 'pip': discarding no candidates
234
+
235
+ Removed build tracker: 'C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app'
236
+
237
+ ```
238
+
239
+ 上記エラーが出ます。
240
+
69
241
 
70
242
 
71
243
  ### チェックしたこと