For information about specific Python versions, see the system requirements on the JMP website: https://www.jmp.com/support/system_requirements_jmp.shtml
•
|
•
|
Several Python implementations are available. Visit https://www.python.org/download/alternatives to view the alternatives.
|
Typically, JMP determines the PYTHONHOME environment variable automatically if it is defined in the Windows registry.
<root> is either the root key HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER depending on where and how you installed Python. <version> is the Python version number.
•
|
Use the Path("path to an installed Python dll or shared library") argument with the Python Init() or Python Connect() function.
|
•
|
Define the PYTHONINSTALLPATH environment variable using either of the following two methods:
|
1.
|
Select Start > Control Panel > System > Advanced system settings.
|
2.
|
Click Environment Variables.
|
4.
|
Type PYTHONINSTALLPATH for the Variable name.
|
5.
|
Type the path to the Python<version>.dll file, for example:
|
6.
|
Create the variable using the Set Environment Variable() function:
1.
|
JMP reads the Path() option that is specified in the Python Init() or Python Connect() function call.
|
3.
|
If a Python installation cannot be found using the Windows registry, JMP looks up the PYTHONINSTALLPATH environment variable. If the environment variable is a valid Windows path, that path will be used to load the appropriate Python DLLs.
|
4.
|
If the PYTHONINSTALLPATH environment variable does not exist or has an invalid path, an error message appears stating that an installation of Python could not be found.
|
Python Init();
Python Submit( "\[basket = ['apple', 'orange', 'pear', 'orange', 'banana']
Python Term();