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

質問編集履歴

1

pip -v install . の結果を追加

2020/09/24 14:33

投稿

shokai
shokai

スコア0

title CHANGED
File without changes
body CHANGED
@@ -22,7 +22,62 @@
22
22
 
23
23
  このようなメッセージが表示されました。
24
24
 
25
+ ---
26
+ **追記**
25
27
 
28
+ ```
29
+ pip -v install .
30
+ ```
31
+ これを試したところ、以下のメッセージが返ってきました
32
+
33
+ ```
34
+ Using pip 20.2.3 from c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip (python 3.8)
35
+ Non-user install because site-packages writeable
36
+ Created temporary directory: C:\Users[名前]\AppData\Local\Temp\pip-ephem-wheel-cache-rpmp49cu
37
+ Created temporary directory: C:\Users[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u
38
+ Initialized build tracking at C:\Users[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u
39
+ Created build tracker: C:\Users[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u
40
+ Entered build tracker: C:\Users[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u
41
+ Created temporary directory: C:\Users[名前]\AppData\Local\Temp\pip-install-fft5wtwf
42
+ ERROR: Invalid requirement: '.'
43
+ Exception information:
44
+ Traceback (most recent call last):
45
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\packaging\requirements.py", line 98, in __init__
46
+ req = REQUIREMENT.parseString(requirement_string)
47
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1955, in parseString
48
+ raise exc
49
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pyparsing.py", line 3250, in parseImpl
50
+ raise ParseException(instring, loc, self.errmsg, self)
51
+ pip._vendor.pyparsing.ParseException: Expected W:(abcd...), found '.' (at char 0), (line:1, col:1)
52
+
53
+ During handling of the above exception, another exception occurred:
54
+
55
+ Traceback (most recent call last):
56
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\req\constructors.py", line 359, in parse_req_from_line
57
+ req = Requirement(req_as_string)
58
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\packaging\requirements.py", line 100, in __init__
59
+ raise InvalidRequirement(
60
+ pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'.'": Expected W:(abcd...)
61
+
62
+ During handling of the above exception, another exception occurred:
63
+
64
+ Traceback (most recent call last):
65
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\base_command.py", line 228, in _main
66
+ status = self.run(options, args)
67
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\req_command.py", line 182, in wrapper
68
+ return func(self, options, args)
69
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\commands\install.py", line 294, in run
70
+ reqs = self.get_requirements(args, options, finder, session)
71
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\req_command.py", line 316, in get_requirements
72
+ req_to_add = install_req_from_line(
73
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\req\constructors.py", line 409, in install_req_from_line
74
+ parts = parse_req_from_line(name, line_source)
75
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\req\constructors.py", line 374, in parse_req_from_line
76
+ raise InstallationError(msg)
77
+ pip._internal.exceptions.InstallationError: Invalid requirement: '.'
78
+ Removed build tracker: 'C:\Users\[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u'
79
+ ```
80
+
26
81
  ### 試したこと
27
82
 
28
83
  エラーメッセージを検索してみましたが、「'.'」この部分が無視された検索結果が表示されます