cancel
Showing results for 
Search instead for 
Did you mean: 

Error importing python library paramiko

SOLVED
New Contributor

Error importing python library paramiko

I want use paramiko for create ssh connection from TestComplete. I write code:

from os import sys
sys.path.insert(0, "C:\\Python36\\Lib\\site-packages")

import paramiko

But when I run test I get error:

Python runtime error.

ImportError: DLL load failed: %1 is not a valid Win32 application.

This code is work in Python (not inside TestComplete).

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Error importing python library paramiko

Hi,

 

https://community.smartbear.com/t5/TestComplete-Desktop-Testing/python-lib-is-not-recognized-as-vali...

https://community.smartbear.com/t5/TestComplete-Desktop-Testing/ImportError-DLL-load-faild-1-is-not-...

 

Does it help?

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

2 REPLIES 2
Community Hero

Re: Error importing python library paramiko

Hi,

 

https://community.smartbear.com/t5/TestComplete-Desktop-Testing/python-lib-is-not-recognized-as-vali...

https://community.smartbear.com/t5/TestComplete-Desktop-Testing/ImportError-DLL-load-faild-1-is-not-...

 

Does it help?

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

New Contributor

Re: Error importing python library paramiko

Thank you.

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors