Centos6.5下安裝jumpserver-1.4.1報錯AttributeError: module 'gssapi' has no attribute 'GSSException'

 

報錯:python

>>> import paramiko
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Data/apps/ENV3/lib/python3.6/site-packages/paramiko/__init__.py", line 22, in <module>
    from paramiko.transport import SecurityOptions, Transport
  File "/Data/apps/ENV3/lib/python3.6/site-packages/paramiko/transport.py", line 38, in <module>
    from paramiko.auth_handler import AuthHandler
  File "/Data/apps/ENV3/lib/python3.6/site-packages/paramiko/auth_handler.py", line 72, in <module>
    from paramiko.ssh_gss import GSSAuth, GSS_EXCEPTIONS
  File "/Data/apps/ENV3/lib/python3.6/site-packages/paramiko/ssh_gss.py", line 55, in <module>
    GSS_EXCEPTIONS = (gssapi.GSSException,)
AttributeError: module 'gssapi' has no attribute 'GSSException'  

解決:api

       各類嘗試,結果是paramiko模塊2.4版本沒法識別gssapi,降爲paramiko==2.3.1 正常app

相關文章
相關標籤/搜索