質問編集履歴
3
エラーの情報を再度貼り付け
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,9 @@
|
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
+
Installing collected packages: Twisted, Scrapy
|
22
|
+
|
21
|
-
Running setup.py install for Twisted ... error
|
23
|
+
Running setup.py install for Twisted ... error
|
22
24
|
|
23
25
|
Exception:
|
24
26
|
|
@@ -30,9 +32,17 @@
|
|
30
32
|
|
31
33
|
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 30: invalid start byte
|
32
34
|
|
35
|
+
|
36
|
+
|
33
|
-
During handling of the above exception, another exception occurred:
|
37
|
+
During handling of the above exception, another exception occurred:
|
34
|
-
|
38
|
+
|
39
|
+
|
40
|
+
|
35
|
-
Traceback (most recent call last):
|
41
|
+
Traceback (most recent call last):
|
42
|
+
|
43
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\basecommand.py", line 215, in main
|
44
|
+
|
45
|
+
status = self.run(options, args)
|
36
46
|
|
37
47
|
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\commands\install.py", line 342, in run
|
38
48
|
|
@@ -56,10 +66,6 @@
|
|
56
66
|
|
57
67
|
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 30: invalid start byte
|
58
68
|
|
59
|
-
|
60
|
-
|
61
|
-
PermissionError: [WinError 32] プロセスはファイルにアクセスできません。別のプロセスが使用中です。: 'C:\\Users\\Wataru\\AppData\\Local\\Temp\\pip-build-eroxk42g\\Twisted'
|
62
|
-
|
63
69
|
```
|
64
70
|
|
65
71
|
###試したこと
|
2
使用環境について追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
###
|
1
|
+
###使用環境について
|
2
|
+
|
3
|
+
python3.6.1
|
4
|
+
|
5
|
+
Windows10
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
###はまっている問題について
|
2
10
|
|
3
11
|
Python3.6.1を先日インストールしたのですが、今度はScrapyをインストールしようと思い、
|
4
12
|
|
1
Running setup\.py install for twisted \.\.\. errorという表記が出ていることから、pip install twistedを実行したところエラーが発生
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,18 +2,12 @@
|
|
2
2
|
|
3
3
|
Python3.6.1を先日インストールしたのですが、今度はScrapyをインストールしようと思い、
|
4
4
|
|
5
|
-
pip install Scrapy
|
5
|
+
pip install Scrapyとコマンドしました。
|
6
|
-
|
7
|
-
とコマンドしました。
|
8
6
|
|
9
7
|
そうしたところ、以下のようなエラーが大量にでてインストールできませんでした。
|
10
8
|
|
11
|
-
|
12
|
-
|
13
9
|
###発生している問題・エラーメッセージ
|
14
10
|
|
15
|
-
|
16
|
-
|
17
11
|
```
|
18
12
|
|
19
13
|
Running setup.py install for Twisted ... error
|
@@ -26,19 +20,9 @@
|
|
26
20
|
|
27
21
|
return s.decode(sys.__stdout__.encoding)
|
28
22
|
|
29
|
-
|
30
|
-
|
31
|
-
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 30: invalid start byte
|
23
|
+
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 30: invalid start byte
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
|
37
|
-
During handling of the above exception, another exception occurred:
|
25
|
+
During handling of the above exception, another exception occurred:
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
26
|
|
43
27
|
Traceback (most recent call last):
|
44
28
|
|
@@ -62,17 +46,133 @@
|
|
62
46
|
|
63
47
|
return s.decode('utf_8')
|
64
48
|
|
65
|
-
|
66
|
-
|
67
|
-
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 30: invalid start byte
|
49
|
+
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 30: invalid start byte
|
50
|
+
|
51
|
+
|
52
|
+
|
68
|
-
|
53
|
+
PermissionError: [WinError 32] プロセスはファイルにアクセスできません。別のプロセスが使用中です。: 'C:\\Users\\Wataru\\AppData\\Local\\Temp\\pip-build-eroxk42g\\Twisted'
|
54
|
+
|
69
|
-
|
55
|
+
```
|
56
|
+
|
70
|
-
|
57
|
+
###試したこと
|
58
|
+
|
71
|
-
|
59
|
+
AppDataというフォルダにがユーザー>Watarの中にないため、どのようにアクセスして良いのかよく分かりません。
|
60
|
+
|
72
|
-
|
61
|
+
別のプロセスが使用中ですとのことなので、再起動してみましたが、同じような症状がでます。
|
62
|
+
|
63
|
+
コーデックが機能しないというような表示がでているので、文字コードの話なのかなと思ったのですが、どう対処して良いのか分かりません。
|
64
|
+
|
65
|
+
###追記
|
66
|
+
|
67
|
+
Twistedというモジュール?をインストールしようとしたら解決できるかもしれないと思い、インストールしようとしたところ、また、エラーが生じました。
|
68
|
+
|
69
|
+
これは上のエラーと同じかもしれないので、これが原因かもしれません。現在調査中です。
|
70
|
+
|
71
|
+
###Twistedをイントールするときに出たエラーメッセージ
|
72
|
+
|
73
|
+
```
|
74
|
+
|
75
|
+
Exception:
|
76
|
+
|
77
|
+
Traceback (most recent call last):
|
78
|
+
|
79
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
|
80
|
+
|
81
|
+
return s.decode(sys.__stdout__.encoding)
|
82
|
+
|
83
|
+
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 30: invalid start byte
|
84
|
+
|
85
|
+
|
86
|
+
|
73
|
-
During handling of the above exception, another exception occurred:
|
87
|
+
During handling of the above exception, another exception occurred:
|
88
|
+
|
89
|
+
|
90
|
+
|
74
|
-
|
91
|
+
Traceback (most recent call last):
|
92
|
+
|
75
|
-
|
93
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\commands\install.py", line 342, in run
|
94
|
+
|
95
|
+
prefix=options.prefix_path,
|
96
|
+
|
97
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_set.py", line 784, in install
|
98
|
+
|
99
|
+
**kwargs
|
100
|
+
|
101
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_install.py", line 878, in install
|
102
|
+
|
103
|
+
spinner=spinner,
|
104
|
+
|
105
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\utils\__init__.py", line 676, in call_subprocess
|
106
|
+
|
107
|
+
line = console_to_str(proc.stdout.readline())
|
108
|
+
|
109
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
|
110
|
+
|
111
|
+
return s.decode('utf_8')
|
112
|
+
|
113
|
+
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 30: invalid start byte
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
During handling of the above exception, another exception occurred:
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
Traceback (most recent call last):
|
122
|
+
|
123
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\commands\install.py", line 385, in run
|
124
|
+
|
125
|
+
requirement_set.cleanup_files()
|
126
|
+
|
127
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_set.py", line 729, in cleanup_files
|
128
|
+
|
129
|
+
req.remove_temporary_source()
|
130
|
+
|
131
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_install.py", line 977, in remove_temporary_source
|
132
|
+
|
133
|
+
rmtree(self.source_dir)
|
134
|
+
|
135
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
|
136
|
+
|
137
|
+
return Retrying(*dargs, **dkw).call(f, *args, **kw)
|
138
|
+
|
139
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
|
140
|
+
|
141
|
+
raise attempt.get()
|
142
|
+
|
143
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
|
144
|
+
|
145
|
+
six.reraise(self.value[0], self.value[1], self.value[2])
|
146
|
+
|
147
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
|
148
|
+
|
149
|
+
raise value
|
150
|
+
|
151
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
|
152
|
+
|
153
|
+
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
|
154
|
+
|
155
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
|
156
|
+
|
157
|
+
onerror=rmtree_errorhandler)
|
158
|
+
|
159
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\shutil.py", line 494, in rmtree
|
160
|
+
|
161
|
+
return _rmtree_unsafe(path, onerror)
|
162
|
+
|
163
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\shutil.py", line 393, in _rmtree_unsafe
|
164
|
+
|
165
|
+
onerror(os.rmdir, path, sys.exc_info())
|
166
|
+
|
167
|
+
File "c:\users\wataru\appdata\local\programs\python\python36\lib\site-packages\pip\utils\__init__.py", line 114, in rmtree_errorhandler
|
168
|
+
|
169
|
+
func(path)
|
170
|
+
|
171
|
+
PermissionError: [WinError 32] プロセスはファイルにアクセスできません。別のプロセスが使用中です。: 'C:\\Users\\Wataru\\AppData\\Local\\Temp\\pip-build-erna7093\\twisted'
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
During handling of the above exception, another exception occurred:
|
76
176
|
|
77
177
|
|
78
178
|
|
@@ -134,16 +234,6 @@
|
|
134
234
|
|
135
235
|
func(path)
|
136
236
|
|
137
|
-
PermissionError: [WinError 32] プロセスはファイルにアクセスできません。別のプロセスが使用中です。: 'C:\\Users\\Wataru\\AppData\\Local\\Temp\\pip-build-er
|
237
|
+
PermissionError: [WinError 32] プロセスはファイルにアクセスできません。別のプロセスが使用中です。: 'C:\\Users\\Wataru\\AppData\\Local\\Temp\\pip-build-erna7093\\twisted'
|
138
|
-
|
238
|
+
|
139
|
-
```
|
239
|
+
```
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
###試したこと
|
144
|
-
|
145
|
-
AppDataというフォルダにがユーザー>Watarの中にないため、どのようにアクセスして良いのかよく分かりません。
|
146
|
-
|
147
|
-
別のプロセスが使用中ですとのことなので、再起動してみましたが、同じような症状がでます。
|
148
|
-
|
149
|
-
コーデックが機能しないというような表示がでているので、文字コードの話なのかなと思ったのですが、どう対処して良いのか分かりません。
|