Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-11-2020, 04:51 PM
TeamH TeamH is offline
Registered User
 
Join Date: Jul 2020
Posts: 1
Smile import failed for some modules in Securecrt, while it's working on the IDLE

Hello,

I use Securecrt 8.5.3, and Python 2.7.15.

Some modules are imported just fine on the IDLE, but not working on the securecrt giving the below error (ex: telnetlib):

quote/
importError

Error: DLL load failed: The specified module could not be found.

/unquote

sys.path on Securecrt:
C:\Securecrt Folder\SecureCRT8.5\Clients
C:\Securecrt Folder\SecureCRT8.5\Clients\vpython27.zip
C:\Python27\Lib
C:\Python27\DLLs
C:\Python27\Lib\lib-tk
C:\Securecrt Folder\SecureCRT8.5\Clients
C:\Securecrt Folder\SecureCRT8.5\Clients\PythonLibraries
C:\Securecrt Folder\SecureCRT8.5\Clients\SitePackages

sys.path on IDLE:
C:\Windows\SYSTEM32\python27.zip
C:\Python27\DLLs
C:\Python27\lib
C:\Python27\lib\plat-win
C:\Python27\lib\lib-tk
C:\Python27
C:\Python27\lib\site-packages

- I tried to fix that, with no use.

Thanks in advance for any help.
Reply With Quote
  #2  
Old 07-12-2020, 01:12 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi TeamH,

That's not a supported module at this time.

I have added this thread to a feature request in our product enhancement database to add support for Python module that includes TelnetLib. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include Feature Request - Forum Thread #14233 in the subject line or use this form from the support page of our website.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 11-24-2020, 11:12 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi TeamH,

External Python modules can now be used with the Python 3 support that has been added to SecureCRT 9.0.

Version 9.0 beta 3 release is available on the website here.

If still using SecureCRT/Windows, this post provides some info on using Python 3.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply

Tags
import error , python 2.7 , securecrt 8.5.3

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:06 PM.