python ImportError:
>>> import paramiko
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
>>>
现在好用了
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341