質問編集履歴
2
ソースコードの表示
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
|
6
6
|
発生している問題・エラーメッセージ
|
7
7
|
---
|
8
|
+
```dos.bat
|
8
|
-
|
9
|
+
Collecting pysptk
|
9
10
|
Using cached pysptk-0.1.10.tar.gz
|
10
11
|
Complete output from command python setup.py egg_info:
|
11
12
|
Traceback (most recent call last):
|
@@ -22,9 +23,9 @@
|
|
22
23
|
startupinfo)
|
23
24
|
FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
|
24
25
|
Command "python setup.py egg_info" failed with error code 1 in C:\Users\KHB15\AppData\Local\Temp\pip-build-pwyzyltm\pysptk\
|
25
|
-
|
26
|
+
```
|
26
27
|
gitを入れて再実行しました。
|
27
|
-
|
28
|
+
```dos.bat
|
28
29
|
> C:\become-yukarin\become-yukarin\scripts>git --version
|
29
30
|
git version 2.16.2.windows.1
|
30
31
|
|
@@ -133,7 +134,7 @@
|
|
133
134
|
File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 112, in rmtree_errorhandler
|
134
135
|
os.chmod(path, stat.S_IWRITE)
|
135
136
|
PermissionError: [WinError 5] アクセスが拒否されました。: 'C:\Users\KHB15\AppData\Local\Temp\pip-build-hy1k76f9\pysptk\lib\SPTK\include'
|
136
|
-
|
137
|
+
```
|
137
138
|
該当のソースコード
|
138
139
|
---
|
139
140
|
> pip install pysptk
|
1
再実行結果
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,6 +23,117 @@
|
|
23
23
|
FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
|
24
24
|
Command "python setup.py egg_info" failed with error code 1 in C:\Users\KHB15\AppData\Local\Temp\pip-build-pwyzyltm\pysptk\
|
25
25
|
|
26
|
+
gitを入れて再実行しました。
|
27
|
+
|
28
|
+
> C:\become-yukarin\become-yukarin\scripts>git --version
|
29
|
+
git version 2.16.2.windows.1
|
30
|
+
|
31
|
+
C:\become-yukarin\become-yukarin\scripts>pip install pysptk
|
32
|
+
Collecting pysptk
|
33
|
+
Using cached pysptk-0.1.10.tar.gz
|
34
|
+
Requirement already satisfied: numpy>=1.8.0 in c:\anaconda3\lib\site-packages (from pysptk)
|
35
|
+
Requirement already satisfied: six in c:\anaconda3\lib\site-packages (from pysptk)
|
36
|
+
Requirement already satisfied: decorator in c:\anaconda3\lib\site-packages (from pysptk)
|
37
|
+
Building wheels for collected packages: pysptk
|
38
|
+
Running setup.py bdist_wheel for pysptk ... error
|
39
|
+
Failed building wheel for pysptk
|
40
|
+
Running setup.py clean for pysptk
|
41
|
+
Failed to build pysptk
|
42
|
+
Installing collected packages: pysptk
|
43
|
+
Running setup.py install for pysptk ... error
|
44
|
+
Exception:
|
45
|
+
Traceback (most recent call last):
|
46
|
+
File "C:\Anaconda3\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
|
47
|
+
return s.decode(sys.__stdout__.encoding)
|
48
|
+
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 5: invalid start byte
|
49
|
+
|
50
|
+
During handling of the above exception, another exception occurred:
|
51
|
+
|
52
|
+
Traceback (most recent call last):
|
53
|
+
File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line 342, in run
|
54
|
+
prefix=options.prefix_path,
|
55
|
+
File "C:\Anaconda3\lib\site-packages\pip\req\req_set.py", line 784, in install
|
56
|
+
**kwargs
|
57
|
+
File "C:\Anaconda3\lib\site-packages\pip\req\req_install.py", line 878, in install
|
58
|
+
spinner=spinner,
|
59
|
+
File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 676, in call_subprocess
|
60
|
+
line = console_to_str(proc.stdout.readline())
|
61
|
+
File "C:\Anaconda3\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
|
62
|
+
return s.decode('utf_8')
|
63
|
+
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 5: invalid start byte
|
64
|
+
|
65
|
+
During handling of the above exception, another exception occurred:
|
66
|
+
|
67
|
+
Traceback (most recent call last):
|
68
|
+
File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line 385, in run
|
69
|
+
requirement_set.cleanup_files()
|
70
|
+
File "C:\Anaconda3\lib\site-packages\pip\req\req_set.py", line 729, in cleanup_files
|
71
|
+
req.remove_temporary_source()
|
72
|
+
File "C:\Anaconda3\lib\site-packages\pip\req\req_install.py", line 977, in remove_temporary_source
|
73
|
+
rmtree(self.source_dir)
|
74
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
|
75
|
+
return Retrying(*dargs, **dkw).call(f, *args, **kw)
|
76
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
|
77
|
+
raise attempt.get()
|
78
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
|
79
|
+
six.reraise(self.value[0], self.value[1], self.value[2])
|
80
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
|
81
|
+
raise value
|
82
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
|
83
|
+
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
|
84
|
+
File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
|
85
|
+
onerror=rmtree_errorhandler)
|
86
|
+
File "C:\Anaconda3\lib\shutil.py", line 494, in rmtree
|
87
|
+
return _rmtree_unsafe(path, onerror)
|
88
|
+
File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
|
89
|
+
_rmtree_unsafe(fullname, onerror)
|
90
|
+
File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
|
91
|
+
_rmtree_unsafe(fullname, onerror)
|
92
|
+
File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
|
93
|
+
_rmtree_unsafe(fullname, onerror)
|
94
|
+
File "C:\Anaconda3\lib\shutil.py", line 376, in _rmtree_unsafe
|
95
|
+
onerror(os.listdir, path, sys.exc_info())
|
96
|
+
File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 112, in rmtree_errorhandler
|
97
|
+
os.chmod(path, stat.S_IWRITE)
|
98
|
+
PermissionError: [WinError 5] アクセスが拒否されました。: 'C:\Users\KHB15\AppData\Local\Temp\pip-build-hy1k76f9\pysptk\lib\SPTK\include'
|
99
|
+
|
100
|
+
During handling of the above exception, another exception occurred:
|
101
|
+
|
102
|
+
Traceback (most recent call last):
|
103
|
+
File "C:\Anaconda3\lib\site-packages\pip\basecommand.py", line 215, in main
|
104
|
+
status = self.run(options, args)
|
105
|
+
File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line 385, in run
|
106
|
+
requirement_set.cleanup_files()
|
107
|
+
File "C:\Anaconda3\lib\site-packages\pip\utils\build.py", line 38, in __exit__
|
108
|
+
self.cleanup()
|
109
|
+
File "C:\Anaconda3\lib\site-packages\pip\utils\build.py", line 42, in cleanup
|
110
|
+
rmtree(self.name)
|
111
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
|
112
|
+
return Retrying(*dargs, **dkw).call(f, *args, **kw)
|
113
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
|
114
|
+
raise attempt.get()
|
115
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
|
116
|
+
six.reraise(self.value[0], self.value[1], self.value[2])
|
117
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
|
118
|
+
raise value
|
119
|
+
File "C:\Anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
|
120
|
+
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
|
121
|
+
File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
|
122
|
+
onerror=rmtree_errorhandler)
|
123
|
+
File "C:\Anaconda3\lib\shutil.py", line 494, in rmtree
|
124
|
+
return _rmtree_unsafe(path, onerror)
|
125
|
+
File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
|
126
|
+
_rmtree_unsafe(fullname, onerror)
|
127
|
+
File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
|
128
|
+
_rmtree_unsafe(fullname, onerror)
|
129
|
+
File "C:\Anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe
|
130
|
+
_rmtree_unsafe(fullname, onerror)
|
131
|
+
File "C:\Anaconda3\lib\shutil.py", line 376, in _rmtree_unsafe
|
132
|
+
onerror(os.listdir, path, sys.exc_info())
|
133
|
+
File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 112, in rmtree_errorhandler
|
134
|
+
os.chmod(path, stat.S_IWRITE)
|
135
|
+
PermissionError: [WinError 5] アクセスが拒否されました。: 'C:\Users\KHB15\AppData\Local\Temp\pip-build-hy1k76f9\pysptk\lib\SPTK\include'
|
136
|
+
|
26
137
|
該当のソースコード
|
27
138
|
---
|
28
139
|
> pip install pysptk
|
@@ -32,5 +143,6 @@
|
|
32
143
|
https://qiita.com/ruteshi_SI_shiteru/items/be6a58276bdbd67dc096
|
33
144
|
によるpipのファイルの書き換え
|
34
145
|
システム入れ直し
|
146
|
+
Gitを入れてみました。
|
35
147
|
補足情報(FW/ツールのバージョンなど)
|
36
148
|
Python3.6(Anaconda)2.7や3.4や3.5ではダメでした。
|