[Tutor] Trouble importing Paramiko

Ufuk Eskici ufukeskici at gmail.com
Wed Jan 2 10:22:47 CET 2013


any help is appreciated, thanks...


2012/12/28 Ufuk Eskici <ufukeskici at gmail.com>

> Hello,
> My Python version is 2.7.3 and it is installed in "C:\Python27 (on the
> web, it says Paramiko-1.7.4 is supported with Python 2.7)
> @Dave: Previous output was from IDLE which should be same with CLI.
>
> I'm getting this output now from Windows Command Line:
>
> ****************************************************
> C:\Python27>python ufo.py
> Traceback (most recent call last):
>   File "ufo.py", line 1, in <module>
>     import paramiko
> ImportError: No module named paramiko
>
> C:\Python27>
> ****************************************************
>
> This is the output after addning .sys path:
> ****************************************************
> C:\Python27>python ufo.py
> import path is  ['C:\\Python27', 'C:\\Windows\\system32\\python27.zip',
> 'C:\\Pyt
> hon27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win',
> 'C:\\Python27\
> \lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages']
> Traceback (most recent call last):
>   File "ufo.py", line 4, in <module>
>     import paramiko
> ImportError: No module named paramiko
> ****************************************************
>
>
> 2012/12/27 Francois Dion <francois.dion at gmail.com>
>
>> On Thu, Dec 27, 2012 at 8:48 AM, Ufuk Eskici <ufukeskici at gmail.com>
>> wrote:
>> > I got this output with lots of errors:
>> >   File "build\bdist.win32\egg\paramiko\auth_handler.py", line 311
>> >     except SSHException, e:
>> >                        ^
>> > SyntaxError: invalid syntax
>>
>> Use Python 2.x, Python 3 is in the works, kindoff:
>>
>> https://github.com/paramiko/paramiko/issues/16
>> https://github.com/paramiko/paramiko/issues/123
>>
>> François
>>
>> --
>> www.pyptug.org  -  raspberry-python.blogspot.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130102/bd78ba24/attachment.html>


More information about the Tutor mailing list