Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-31-2018, 02:17 AM
ngrison ngrison is offline
Registered User
 
Join Date: Aug 2017
Posts: 21
import url lib error

Hi,

I am trying to use the python modules urllib and urllib2 in my scripts. No problem when running on 8.3.3 on OS X, they import fine and can be used, but on Windows 7 64 bits I get the following error:

ImportError
no module named _socket
File:/path/to/file
import urllib

Has anyone seen this before? Does the python version included in SecureCRT 8.3.3 on windows not include the socket module? Thank you.
Reply With Quote
  #2  
Old 05-31-2018, 07:45 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,530
Hi ngrison,

Correct, SecureCRT does not have native support for the _socket Python module on Windows as discussed in many other posts in the forums:

https://forums.vandyke.com/showthread.php?t=12554
https://forums.vandyke.com/showthread.php?t=12542
https://forums.vandyke.com/showthread.php?t=12410

I have added this thread to a feature request in our product enhancement database to add native support for _socket Python module on Windows. 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 #13127" 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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 03:48 PM.