ImportError: No module named py3compat

时间:2015-12-10 01:06:47

标签: paramiko

ubuntu 14.04 I am using Python 2.7.6 I have already installed paramiko moudle

for example:

~/paramiko/demos$ python demo.py

Traceback (most recent call last): File "demo.py", line 31, in from paramiko.py3compat import input ImportError: No module named py3compat

so I open the demo.py

vim demo.py +31

line31: from paramiko.py3compat import input

1 个答案:

答案 0 :(得分:0)

您需要在导入之前安装paramiko。尝试

pip install paramiko