Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-06-2021, 08:19 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
Arrow How-To: Use Python Scripting in SecureCRT 9.x on macOS

Update:
SecureCRT 9.2.x on supported macOS platforms can load python 3.10.x, 3.9.x, or 3.8.x from python.org or homebrew when installed to its respective default locations. Native M1/ARM builds of SecureCRT 9.2 on M1 Macs can load python from either the default python.org install location (/Library/Frameworks/Python.framework/Versions/3.x/Python) or the homebrew-installed location (/opt/homebrew/Frameworks/Python.framework/Versions/3.x/Python)

SecureCRT 9.1.x on macOS platforms (Intel hardware) can load python version 3.9.x or version 3.8.x from python.org or homebrew when installed to its respective default location.


SecureCRT 9.0.x on macOS (and Linux) platforms still supports only python version 3.8.x.

If you are running SecureCRT 9.0.x on macOS, but Python 3.8 isn't installed (or isn't available where SecureCRT expects), the following error may appear:

Solution #1:
Upgrade to SecureCRT version 9.1.x. If your Mac has 3.9 installed by default, this is perhaps the easiest solution.

Solution #2:
Install python 3.8 on your mac.

For example, navigate to https://www.python.org/downloads/release/python-3810/, and scroll down on that page to locate: python-3.8.10-macosx10.9.pkg

Note:
SecureCRT (either version 9.0.x or 9.1.x) on macOS looks for python to be installed in either of the following locations:

/Library/Frameworks/Python.framework/Versions/3.8/Python
(this is the location to where the python.org version seems to install by default)

/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/Python
(this is the location where the home brew version seems to install by default)

--Jake
Attached Images
File Type: png macOS-SCRT9.0-NoPython38.png (45.6 KB, 7888 views)
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support

Last edited by jdev; 04-19-2022 at 04:00 PM.
Closed Thread

Tags
how-to , macos , python , securecrt 9.0

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 04:46 AM.