質問編集履歴
2
ご回答をうけて試したことの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,6 +56,32 @@
|
|
56
56
|
|
57
57
|
|
58
58
|
|
59
|
+
### ご回答をうけて試したこと
|
60
|
+
|
61
|
+
```
|
62
|
+
|
63
|
+
$python
|
64
|
+
|
65
|
+
>>> import multiprocessing
|
66
|
+
|
67
|
+
>>> import os
|
68
|
+
|
69
|
+
>>> pool_path = os.path.join(os.path.dirname(multiprocessing.__file__), 'pool.py')
|
70
|
+
|
71
|
+
>>> assert os.path.isfile(pool_path), '{} がない'.format(pool_path)
|
72
|
+
|
73
|
+
Traceback (most recent call last):
|
74
|
+
|
75
|
+
File "<stdin>", line 1, in <module>
|
76
|
+
|
77
|
+
AssertionError: /Users/username/Desktop/pool.py がない
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
```
|
82
|
+
|
83
|
+
|
84
|
+
|
59
85
|
### 補足情報(FW/ツールのバージョンなど)
|
60
86
|
|
61
87
|
Python3.6
|
1
誤字脱字
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
##### 並列計算を使えるように #########
|
32
32
|
|
33
|
-
from multiprocessing
|
33
|
+
from multiprocessing import Pool
|
34
34
|
|
35
35
|
|
36
36
|
|