首页 新闻 会员 周边 捐助

大佬们,请教一个问题。docker-compose报错

0
悬赏园豆:10 [待解决问题]

CentOS7.6

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 6, in <module>
    from compose.cli.main import main
  File "/usr/lib/python2.7/site-packages/compose/cli/main.py", line 17, in <module>
    import docker
  File "/usr/lib/python2.7/site-packages/docker/__init__.py", line 2, in <module>
    from .api import APIClient
  File "/usr/lib/python2.7/site-packages/docker/api/__init__.py", line 2, in <module>
    from .client import APIClient
  File "/usr/lib/python2.7/site-packages/docker/api/client.py", line 10, in <module>
    from .build import BuildApiMixin
  File "/usr/lib/python2.7/site-packages/docker/api/build.py", line 6, in <module>
    from .. import auth
  File "/usr/lib/python2.7/site-packages/docker/auth.py", line 9, in <module>
    from .utils import config
  File "/usr/lib/python2.7/site-packages/docker/utils/__init__.py", line 3, in <module>
    from .decorators import check_resource, minimum_version, update_headers
  File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 4, in <module>
    from . import utils
  File "/usr/lib/python2.7/site-packages/docker/utils/utils.py", line 13, in <module>
    from .. import tls
  File "/usr/lib/python2.7/site-packages/docker/tls.py", line 5, in <module>
    from .transport import SSLHTTPAdapter
  File "/usr/lib/python2.7/site-packages/docker/transport/__init__.py", line 11, in <module>
    from .sshconn import SSHHTTPAdapter
  File "/usr/lib/python2.7/site-packages/docker/transport/sshconn.py", line 1, in <module>
    import paramiko
  File "/usr/lib/python2.7/site-packages/paramiko/__init__.py", line 22, in <module>
    from paramiko.transport import SecurityOptions, Transport
  File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 129, in <module>
    class Transport(threading.Thread, ClosingContextManager):
  File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 190, in Transport
    if KexCurve25519.is_available():
  File "/usr/lib/python2.7/site-packages/paramiko/kex_curve25519.py", line 30, in is_available
    X25519PrivateKey.generate()
  File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py", line 39, in generate
    if not backend.x25519_supported():
AttributeError: 'Backend' object has no attribute 'x25519_supported'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 120, in _join_lingering_threads
    for thr in _active_threads:
TypeError: 'NoneType' object is not iterable
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 120, in _join_lingering_threads
    for thr in _active_threads:
TypeError: 'NoneType' object is not iterable
骑着蚊子去太阳的主页 骑着蚊子去太阳 | 初学一级 | 园豆:89
提问于:2019-08-24 17:07
< >
分享
所有回答(1)
-2

TypeError: 'NoneType' object is not iterable
这么明确的错误...

骑着兔子的蜗牛 | 园豆:299 (菜鸟二级) | 2019-08-25 17:00

关键是怎么解决啊。我晕。。我已经把python和docker-conpose全部卸载了,重新装了。

支持(0) 反对(0) 骑着蚊子去太阳 | 园豆:89 (初学一级) | 2019-08-25 17:22

@骑着蚊子去太阳: 调用的问题

支持(0) 反对(1) 骑着兔子的蜗牛 | 园豆:299 (菜鸟二级) | 2019-08-25 18:40

@骑着兔子的蜗牛: 额。。不懂//

支持(0) 反对(0) 骑着蚊子去太阳 | 园豆:89 (初学一级) | 2019-08-25 22:00

@骑着蚊子去太阳: 入参错误...你一点都不会排查吗?

支持(0) 反对(1) 骑着兔子的蜗牛 | 园豆:299 (菜鸟二级) | 2019-08-27 10:30

@骑着兔子的蜗牛: 关键是 我输入 docker-conpose,就报错了,我不懂。我也没有写代码。

支持(0) 反对(0) 骑着蚊子去太阳 | 园豆:89 (初学一级) | 2019-08-27 10:32

@骑着蚊子去太阳: debug

支持(0) 反对(3) 骑着兔子的蜗牛 | 园豆:299 (菜鸟二级) | 2019-09-02 09:04
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册