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 09-30-2020, 12:47 PM
etalkishere etalkishere is offline
Registered User
 
Join Date: Sep 2015
Posts: 13
ImportErrorError: No module named

Hi,
I am trying to run a python script on my new Mac and got the following error. Is there any configuration I need to set in CRT? I have a macOS Catalina version 10.15.7, python 2.74, and also 3.8.1 installed on my Mac. The module requests is already installed, along with python. I am running zsh for the Mac CLI. Thanks.

ImportError

Error: No module named requests
File: /Users/xyz/scripts/script.py
Line: 18

import requests


~ > pip freeze | grep requests 12:10:53 PM
requests==2.24.0

~ > python -V 12:44:41 PM
Python 3.8.1
~ >
Reply With Quote
  #2  
Old 09-30-2020, 02:40 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,482
Hi etalkishere,

The current release of SecureCRT (v8.7.x) does not support Python 3.

What are the results if you use Python 2.7?

I have added this thread to a feature request in our product enhancement database to add support for Python 3 for SecureCRT/Mac and SecureCRT/Linux. 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 #14299 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-20-2020, 04:23 PM
cboyack cboyack is offline
VanDyke Technical Support
 
Join Date: Apr 2020
Location: Albuquerque, NM
Posts: 59
Hi etalkishere,

We're happy to announce that Python 3 support is now available in the beta 3 build of SecureCRT version 9.0!

Please feel free to test it out!
__________________
Thanks,
--Cameron

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 12:10 PM.