嘿,
我正在dask
集群上运行slurm
,并且希望使用dask-jobqueue运行以并行化数据处理,但是在导入软件包时得到以下信息:
import dask_jobqueue
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/dask_jobqueue/__init__.py", line 3, in <module>
from .core import JobQueueCluster
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/dask_jobqueue/core.py", line 18, in <module>
from distributed import LocalCluster
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/distributed/__init__.py", line 5, in <module>
from .actor import Actor, ActorFuture
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/distributed/actor.py", line 4, in <module>
from .client import Future, default_client
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/distributed/client.py", line 44, in <module>
from .batched import BatchedSend
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/distributed/batched.py", line 10, in <module>
from .core import CommClosedError
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/distributed/core.py", line 20, in <module>
from .comm import (connect, listen, CommClosedError,
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/distributed/comm/__init__.py", line 17, in <module>
_register_transports()
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/distributed/comm/__init__.py", line 14, in _register_transports
from . import tcp
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/distributed/comm/tcp.py", line 16, in <module>
from tornado import gen, netutil
File "/home/vonderent/.conda/envs/IFP_env/lib/python2.7/site-packages/tornado/netutil.py", line 44, in <module>
_client_ssl_defaults = ssl.create_default_context(
AttributeError: 'module' object has no attribute 'create_default_context'
似乎是SSL的问题 我有点茫然,有什么主意吗?