cancel
Showing results for 
Search instead for 
Did you mean: 

Error importing python library paramiko

SOLVED
Highlighted
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
Highlighted
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 Hero]
____
[Community Heroes] 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. Posts made by [Community Heroes]
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.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

2 REPLIES 2
Highlighted
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 Hero]
____
[Community Heroes] 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. Posts made by [Community Heroes]
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.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

Highlighted
New Contributor

Re: Error importing python library paramiko

Thank you.

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