VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   How-To: Use Python Scripting in SecureCRT 9.x on macOS (https://forums.vandyke.com/showthread.php?t=14516)

jdev 05-06-2021 09:19 AM

How-To: Use Python Scripting in SecureCRT 9.x on macOS
 
1 Attachment(s)
Update:
SecureCRT 9.1.x on macOS (and Linux) platforms now supports either python version 3.9.x or python version 3.8.x.


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:
https://forums.vandyke.com/attachmen...achmentid=2104

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)

If your chosen Python 3 installation wants to go somewhere else, you'll need to manually set up a link to it in one of the above locations so it points to where your Python 3 package is actually installed.

--Jake


All times are GMT -6. The time now is 02:21 AM.