linux下安裝python paramiko模組

2021-10-21 10:27:00 字數 1374 閱讀 5898

linux環境安裝paramiko,根據這個文章進行安裝就可以了

我實際的安裝paramiko報錯如下

,然後按照提示,缺什麼依賴包導什麼依賴包就可以了

>>>

import paramiko

traceback

(most recent call last)

: file ""

, line 1,in

file "build/bdist.linux-x86_64/egg/paramiko/__init__.py"

, line 22,in

file "build/bdist.linux-x86_64/egg/paramiko/transport.py"

, line 33,in

importerror: no module named cryptography.hazmat.backends

traceback

(most recent call last)

: file ""

, line 1,in

file "build/bdist.linux-x86_64/egg/paramiko/__init__.py"

, line 22,in

file "build/bdist.linux-x86_64/egg/paramiko/transport.py"

, line 34,in

file "/usr/lib64/python2.7/site-packages/cryptography-2.7-py2.7-linux-x86_64.egg/cryptography/hazmat/primitives/ciphers/__init__.py"

, line 7,in

from cryptography.hazmat.primitives.ciphers.base import

( file "/usr/lib64/python2.7/site-packages/cryptography-2.7-py2.7-linux-x86_64.egg/cryptography/hazmat/primitives/ciphers/base.py"

, line 12,in

from cryptography.exceptions import

( file "/usr/lib64/python2.7/site-packages/cryptography-2.7-py2.7-linux-x86_64.egg/cryptography/exceptions.py"

, line 7,in

from

enum

import enum

importerror: no module named enum

Linux下Redis下安裝

redis安裝 檢查是否安裝redis ps ef grep redis2.檢查gcc服務是否安裝成功 rpm qa grep gcc注 安裝成功則顯示 mkdir redis5.解壓redis安裝包 tar zxvf redis 2.8.17 tar.gz c usr local redis 解壓...

Linux下安裝安裝arm linux gcc

1 tar指令解壓對應壓縮包到指定目錄,如arm linux gcc 4.3.2.tar.bz2壓縮包,sudo tar xvjf arm linux gcc 4.3.2.tar.bz2 c tar壓縮解壓縮 c 建立打包檔案,可搭配 v來觀察過程中被打包的檔名 filename t 檢視打包檔案的...

linux下安裝軟體

linux下安裝軟體有兩種方式 備註 linux 上面一般安裝 redhat 的rpm 包,在ubuntu 上一般安裝 deb的包 首先是rpm包的安裝教程 一是安裝二進位制的包,一般都是 rpm格式的了,常用 rpm ivh rpm 的方式來安裝了 rpm qa rpm命令。rpm安裝有時遇到依賴...