", line 1, in  发布时间:2019-09-16 07:40:47编辑:auto阅读(2564)  >>> import paramiko 
                             上一篇:
                                                                    python手机号正则                             下一篇:
                                                                    python xlsxwriter 在                               51250   50685   41286   38107   32571   29471   28333   23196   23161   21488   1564°   2284°   1890°   1829°   2143°   1876°   2565°   4298°   4150°   2959° python ImportError: 
                        
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
python ImportError: No module named paramiko
模块没有安装
接下来安装
root@scpman:~# apt-cache search python* |grep paramiko
python-paramiko - Make ssh v2 connections with Python
apt-get install python-paramiko
root@scpman:~# python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import paramiko
/usr/lib/python2.6/dist-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken
RandomPool_DeprecationWarning)
>>> import paramiko
>>> 
>>> print "www.scpman.com"
www.scpman.com
>>> 
现在好用了