質問編集履歴

2

ソースコードの表示

2018/03/08 08:01

投稿

BURI55
BURI55

スコア25

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,9 @@
12
12
 
13
13
  ---
14
14
 
15
+ ```dos.bat
16
+
15
- > Collecting pysptk
17
+ Collecting pysptk
16
18
 
17
19
  Using cached pysptk-0.1.10.tar.gz
18
20
 
@@ -46,11 +48,11 @@
46
48
 
47
49
  Command "python setup.py egg_info" failed with error code 1 in C:\Users\KHB15\AppData\Local\Temp\pip-build-pwyzyltm\pysptk\
48
50
 
49
-
51
+ ```
50
52
 
51
53
  gitを入れて再実行しました。
52
54
 
53
-
55
+ ```dos.bat
54
56
 
55
57
  > C:\become-yukarin\become-yukarin\scripts>git --version
56
58
 
@@ -268,7 +270,7 @@
268
270
 
269
271
  PermissionError: [WinError 5] アクセスが拒否されました。: 'C:\Users\KHB15\AppData\Local\Temp\pip-build-hy1k76f9\pysptk\lib\SPTK\include'
270
272
 
271
-
273
+ ```
272
274
 
273
275
  該当のソースコード
274
276
 

1

再実行結果

2018/03/08 08:01

投稿

BURI55
BURI55

スコア25

test CHANGED
File without changes
test CHANGED
@@ -48,6 +48,228 @@
48
48
 
49
49
 
50
50
 
51
+ gitを入れて再実行しました。
52
+
53
+
54
+
55
+ > C:\become-yukarin\become-yukarin\scripts>git --version
56
+
57
+ git version 2.16.2.windows.1
58
+
59
+
60
+
61
+ C:\become-yukarin\become-yukarin\scripts>pip install pysptk
62
+
63
+ Collecting pysptk
64
+
65
+ Using cached pysptk-0.1.10.tar.gz
66
+
67
+ Requirement already satisfied: numpy>=1.8.0 in c:\anaconda3\lib\site-packages (from pysptk)
68
+
69
+ Requirement already satisfied: six in c:\anaconda3\lib\site-packages (from pysptk)
70
+
71
+ Requirement already satisfied: decorator in c:\anaconda3\lib\site-packages (from pysptk)
72
+
73
+ Building wheels for collected packages: pysptk
74
+
75
+ Running setup.py bdist_wheel for pysptk ... error
76
+
77
+ Failed building wheel for pysptk
78
+
79
+ Running setup.py clean for pysptk
80
+
81
+ Failed to build pysptk
82
+
83
+ Installing collected packages: pysptk
84
+
85
+ Running setup.py install for pysptk ... error
86
+
87
+ Exception:
88
+
89
+ Traceback (most recent call last):
90
+
91
+ File "C:\Anaconda3\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
92
+
93
+ return s.decode(sys.__stdout__.encoding)
94
+
95
+ UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 5: invalid start byte
96
+
97
+
98
+
99
+ During handling of the above exception, another exception occurred:
100
+
101
+
102
+
103
+ Traceback (most recent call last):
104
+
105
+ File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line 342, in run
106
+
107
+ prefix=options.prefix_path,
108
+
109
+ File "C:\Anaconda3\lib\site-packages\pip\req\req_set.py", line 784, in install
110
+
111
+ **kwargs
112
+
113
+ File "C:\Anaconda3\lib\site-packages\pip\req\req_install.py", line 878, in install
114
+
115
+ spinner=spinner,
116
+
117
+ File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 676, in call_subprocess
118
+
119
+ line = console_to_str(proc.stdout.readline())
120
+
121
+ File "C:\Anaconda3\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
122
+
123
+ return s.decode('utf_8')
124
+
125
+ UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 5: invalid start byte
126
+
127
+
128
+
129
+ During handling of the above exception, another exception occurred:
130
+
131
+
132
+
133
+ Traceback (most recent call last):
134
+
135
+ File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line 385, in run
136
+
137
+ requirement_set.cleanup_files()
138
+
139
+ File "C:\Anaconda3\lib\site-packages\pip\req\req_set.py", line 729, in cleanup_files
140
+
141
+ req.remove_temporary_source()
142
+
143
+ File "C:\Anaconda3\lib\site-packages\pip\req\req_install.py", line 977, in remove_temporary_source
144
+
145
+ rmtree(self.source_dir)
146
+
147
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
148
+
149
+ return Retrying(*dargs, **dkw).call(f, *args, **kw)
150
+
151
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
152
+
153
+ raise attempt.get()
154
+
155
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
156
+
157
+ six.reraise(self.value[0], self.value[1], self.value[2])
158
+
159
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
160
+
161
+ raise value
162
+
163
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
164
+
165
+ attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
166
+
167
+ File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
168
+
169
+ onerror=rmtree_errorhandler)
170
+
171
+ File "C:\Anaconda3\lib\shutil.py", line 494, in rmtree
172
+
173
+ return _rmtree_unsafe(path, onerror)
174
+
175
+ File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
176
+
177
+ _rmtree_unsafe(fullname, onerror)
178
+
179
+ File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
180
+
181
+ _rmtree_unsafe(fullname, onerror)
182
+
183
+ File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
184
+
185
+ _rmtree_unsafe(fullname, onerror)
186
+
187
+ File "C:\Anaconda3\lib\shutil.py", line 376, in _rmtree_unsafe
188
+
189
+ onerror(os.listdir, path, sys.exc_info())
190
+
191
+ File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 112, in rmtree_errorhandler
192
+
193
+ os.chmod(path, stat.S_IWRITE)
194
+
195
+ PermissionError: [WinError 5] アクセスが拒否されました。: 'C:\Users\KHB15\AppData\Local\Temp\pip-build-hy1k76f9\pysptk\lib\SPTK\include'
196
+
197
+
198
+
199
+ During handling of the above exception, another exception occurred:
200
+
201
+
202
+
203
+ Traceback (most recent call last):
204
+
205
+ File "C:\Anaconda3\lib\site-packages\pip\basecommand.py", line 215, in main
206
+
207
+ status = self.run(options, args)
208
+
209
+ File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line 385, in run
210
+
211
+ requirement_set.cleanup_files()
212
+
213
+ File "C:\Anaconda3\lib\site-packages\pip\utils\build.py", line 38, in __exit__
214
+
215
+ self.cleanup()
216
+
217
+ File "C:\Anaconda3\lib\site-packages\pip\utils\build.py", line 42, in cleanup
218
+
219
+ rmtree(self.name)
220
+
221
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
222
+
223
+ return Retrying(*dargs, **dkw).call(f, *args, **kw)
224
+
225
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
226
+
227
+ raise attempt.get()
228
+
229
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
230
+
231
+ six.reraise(self.value[0], self.value[1], self.value[2])
232
+
233
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
234
+
235
+ raise value
236
+
237
+ File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
238
+
239
+ attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
240
+
241
+ File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
242
+
243
+ onerror=rmtree_errorhandler)
244
+
245
+ File "C:\Anaconda3\lib\shutil.py", line 494, in rmtree
246
+
247
+ return _rmtree_unsafe(path, onerror)
248
+
249
+ File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
250
+
251
+ _rmtree_unsafe(fullname, onerror)
252
+
253
+ File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
254
+
255
+ _rmtree_unsafe(fullname, onerror)
256
+
257
+ File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
258
+
259
+ _rmtree_unsafe(fullname, onerror)
260
+
261
+ File "C:\Anaconda3\lib\shutil.py", line 376, in _rmtree_unsafe
262
+
263
+ onerror(os.listdir, path, sys.exc_info())
264
+
265
+ File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 112, in rmtree_errorhandler
266
+
267
+ os.chmod(path, stat.S_IWRITE)
268
+
269
+ PermissionError: [WinError 5] アクセスが拒否されました。: 'C:\Users\KHB15\AppData\Local\Temp\pip-build-hy1k76f9\pysptk\lib\SPTK\include'
270
+
271
+
272
+
51
273
  該当のソースコード
52
274
 
53
275
  ---
@@ -66,6 +288,8 @@
66
288
 
67
289
  システム入れ直し
68
290
 
291
+ Gitを入れてみました。
292
+
69
293
  補足情報(FW/ツールのバージョンなど)
70
294
 
71
295
  Python3.6(Anaconda)2.7や3.4や3.5ではダメでした。