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
TypeError: 'NoneType' object is not iterable
这么明确的错误...
关键是怎么解决啊。我晕。。我已经把python和docker-conpose全部卸载了,重新装了。
@骑着蚊子去太阳: 调用的问题
@骑着兔子的蜗牛: 额。。不懂//
@骑着蚊子去太阳: 入参错误...你一点都不会排查吗?
@骑着兔子的蜗牛: 关键是 我输入 docker-conpose,就报错了,我不懂。我也没有写代码。
@骑着蚊子去太阳: debug