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