teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

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

2021/03/26 09:25

投稿

atsu6
atsu6

スコア1

title CHANGED
File without changes
body CHANGED
@@ -32,7 +32,93 @@
32
32
  #### 管理者権限にてCMD実行
33
33
  同じエラーが出ます。
34
34
 
35
+ #### -vをつけて実行
35
36
 
37
+ ```
38
+ C:\WINDOWS\system32>pip install -v Pillow
39
+ Using pip 21.0.1 from c:\python38\lib\site-packages\pip (python 3.8)
40
+ Non-user install because site-packages writeable
41
+ Created temporary directory: C:\Users\username\AppData\Local\Temp\pip-ephem-wheel-cache-hks29fcu
42
+ Created temporary directory: C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app
43
+ Initialized build tracking at C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app
44
+ Created build tracker: C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app
45
+ Entered build tracker: C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app
46
+ Created temporary directory: C:\Users\username\AppData\Local\Temp\pip-install-d39skl80
47
+ 1 location(s) to search for versions of pillow:
48
+ * https://pypi.org/simple/pillow/
49
+ Fetching project page and analyzing links: https://pypi.org/simple/pillow/
50
+ Getting page https://pypi.org/simple/pillow/
51
+ Found index url https://pypi.org/simple
52
+ Looking up "https://pypi.org/simple/pillow/" in the cache
53
+ Request header has "max_age" as 0, cache bypassed
54
+ Starting new HTTPS connection (1): pypi.org:443
55
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=4, connect=None, read=None, redirect=None, status=None)
56
+ Starting new HTTPS connection (2): pypi.org:443
57
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=3, connect=None, read=None, redirect=None, status=None)
58
+ Starting new HTTPS connection (3): pypi.org:443
59
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
60
+ Starting new HTTPS connection (4): pypi.org:443
61
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
62
+ Starting new HTTPS connection (5): pypi.org:443
63
+ Incremented Retry for (url='/simple/pillow/'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
64
+ Starting new HTTPS connection (6): pypi.org:443
65
+ 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
66
+ Given no hashes to check 0 links for project 'pillow': discarding no candidates
67
+ Exception information:
68
+ Traceback (most recent call last):
69
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 171, in _merge_into_criterion
70
+ crit = self.state.criteria[name]
71
+ KeyError: 'pillow'
72
+
73
+ During handling of the above exception, another exception occurred:
74
+
75
+ Traceback (most recent call last):
76
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 318, in resolve
77
+ name, crit = self._merge_into_criterion(r, parent=None)
78
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _merge_into_criterion
79
+ crit = Criterion.from_requirement(self._p, requirement, parent)
80
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 83, in from_requirement
81
+ raise RequirementsConflicted(criterion)
82
+ pip._vendor.resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('Pillow')
83
+
84
+ During handling of the above exception, another exception occurred:
85
+
86
+ Traceback (most recent call last):
87
+ File "c:\python38\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 121, in resolve
88
+ self._result = resolver.resolve(
89
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 453, in resolve
90
+ state = resolution.resolve(requirements, max_rounds=max_rounds)
91
+ File "c:\python38\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 320, in resolve
92
+ raise ResolutionImpossible(e.criterion.information)
93
+ pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('Pillow'), parent=None)]
94
+
95
+ The above exception was the direct cause of the following exception:
96
+
97
+ Traceback (most recent call last):
98
+ File "c:\python38\lib\site-packages\pip\_internal\cli\base_command.py", line 189, in _main
99
+ status = self.run(options, args)
100
+ File "c:\python38\lib\site-packages\pip\_internal\cli\req_command.py", line 178, in wrapper
101
+ return func(self, options, args)
102
+ File "c:\python38\lib\site-packages\pip\_internal\commands\install.py", line 316, in run
103
+ requirement_set = resolver.resolve(
104
+ File "c:\python38\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 127, in resolve
105
+ six.raise_from(error, e)
106
+ File "<string>", line 3, in raise_from
107
+ pip._internal.exceptions.DistributionNotFound: No matching distribution found for Pillow
108
+ 1 location(s) to search for versions of pip:
109
+ * https://pypi.org/simple/pip/
110
+ Fetching project page and analyzing links: https://pypi.org/simple/pip/
111
+ Getting page https://pypi.org/simple/pip/
112
+ Found index url https://pypi.org/simple
113
+ Looking up "https://pypi.org/simple/pip/" in the cache
114
+ Request header has "max_age" as 0, cache bypassed
115
+ Starting new HTTPS connection (1): pypi.org:443
116
+ 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
117
+ Given no hashes to check 0 links for project 'pip': discarding no candidates
118
+ Removed build tracker: 'C:\Users\username\AppData\Local\Temp\pip-req-tracker-7c3v3app'
119
+ ```
120
+ 上記エラーが出ます。
121
+
36
122
  ### チェックしたこと
37
123
 
38
124
  #### プロキシが設定されてないことを確認