在新浪云上 from multiprocessing.dummy import Pool 失败
在新浪云上运行 Python 程序,死活不能导入
multiprocessing.dummy
,希望高手可以解答一下……谢谢!
错误信息如下:
from multiprocessing.dummy import Pool as ThreadPool
File "/usr/local/sae/python/lib/python2.7/multiprocessing/__init__.py", line 65, in <module>
from multiprocessing.util import SUBDEBUG, SUBWARNING
File "/usr/local/sae/python/lib/python2.7/multiprocessing/util.py", line 41, in <module>
from subprocess import _args_from_interpreter_flags
ImportError: cannot import name _args_from_interpreter_flags
cover
9 years, 5 months ago