質問編集履歴

1

pip -v install . の結果を追加

2020/09/24 14:33

投稿

shokai
shokai

スコア0

test CHANGED
File without changes
test CHANGED
@@ -46,6 +46,116 @@
46
46
 
47
47
 
48
48
 
49
+ ---
50
+
51
+ **追記**
52
+
53
+
54
+
55
+ ```
56
+
57
+ pip -v install .
58
+
59
+ ```
60
+
61
+ これを試したところ、以下のメッセージが返ってきました
62
+
63
+
64
+
65
+ ```
66
+
67
+ Using pip 20.2.3 from c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip (python 3.8)
68
+
69
+ Non-user install because site-packages writeable
70
+
71
+ Created temporary directory: C:\Users[名前]\AppData\Local\Temp\pip-ephem-wheel-cache-rpmp49cu
72
+
73
+ Created temporary directory: C:\Users[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u
74
+
75
+ Initialized build tracking at C:\Users[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u
76
+
77
+ Created build tracker: C:\Users[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u
78
+
79
+ Entered build tracker: C:\Users[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u
80
+
81
+ Created temporary directory: C:\Users[名前]\AppData\Local\Temp\pip-install-fft5wtwf
82
+
83
+ ERROR: Invalid requirement: '.'
84
+
85
+ Exception information:
86
+
87
+ Traceback (most recent call last):
88
+
89
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\packaging\requirements.py", line 98, in __init__
90
+
91
+ req = REQUIREMENT.parseString(requirement_string)
92
+
93
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1955, in parseString
94
+
95
+ raise exc
96
+
97
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pyparsing.py", line 3250, in parseImpl
98
+
99
+ raise ParseException(instring, loc, self.errmsg, self)
100
+
101
+ pip._vendor.pyparsing.ParseException: Expected W:(abcd...), found '.' (at char 0), (line:1, col:1)
102
+
103
+
104
+
105
+ During handling of the above exception, another exception occurred:
106
+
107
+
108
+
109
+ Traceback (most recent call last):
110
+
111
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\req\constructors.py", line 359, in parse_req_from_line
112
+
113
+ req = Requirement(req_as_string)
114
+
115
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\packaging\requirements.py", line 100, in __init__
116
+
117
+ raise InvalidRequirement(
118
+
119
+ pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'.'": Expected W:(abcd...)
120
+
121
+
122
+
123
+ During handling of the above exception, another exception occurred:
124
+
125
+
126
+
127
+ Traceback (most recent call last):
128
+
129
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\base_command.py", line 228, in _main
130
+
131
+ status = self.run(options, args)
132
+
133
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\req_command.py", line 182, in wrapper
134
+
135
+ return func(self, options, args)
136
+
137
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\commands\install.py", line 294, in run
138
+
139
+ reqs = self.get_requirements(args, options, finder, session)
140
+
141
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\req_command.py", line 316, in get_requirements
142
+
143
+ req_to_add = install_req_from_line(
144
+
145
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\req\constructors.py", line 409, in install_req_from_line
146
+
147
+ parts = parse_req_from_line(name, line_source)
148
+
149
+ File "c:\users[名前]\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\req\constructors.py", line 374, in parse_req_from_line
150
+
151
+ raise InstallationError(msg)
152
+
153
+ pip._internal.exceptions.InstallationError: Invalid requirement: '.'
154
+
155
+ Removed build tracker: 'C:\Users\[名前]\AppData\Local\Temp\pip-req-tracker-ahnz2i9u'
156
+
157
+ ```
158
+
49
159
 
50
160
 
51
161
  ### 試したこと