发布日期: 04/13/2021

Install Python

JMP 15 is a 64-bit program; only 64-bit Python is supported.

Python 3.6.5 and above are supported on Windows and macOS.

Python 3.7.x is also supported. With Anaconda and Python 3.7 on Windows, you must install Python for all users and add it to the computer’s PATH statement.

The way Python is built from versions 3.6 to 3.7 changed. In Python 3.7, Python must be installed for all users. Otherwise, the libraries that the Python DLL depend on cannot be located at DLL load time. Other Python distributions might work fine installed for a single user or might also require a system-wide install.

JMP does not currently support Python virtual environments.

Notes: 

Python is not distributed with JMP. Download Python from the Python web site at https://python.org.

Several Python implementations are available. Visit https://www.python.org/download/alternatives to view the alternatives.

On macOS, installing Python 3.6.x from python.org installs in /Library/Frameworks/Python.framework.

Required Python Packages

For the JMP-to-Python interfaces to work properly, you must install certain Python packages and their prerequisites. In many Python installations, such as Anaconda, these packages are already installed. If you install Python from Python.org, also install the following packages:

numpy

https://www.numpy.org

pandas

https://pandas.pydata.org

matplotlib

https://matplotlib.org

scipy

https://www.scipy.org

sqlite3

https://www.sqlite.org

PyQt5

https://pypi.org/project/PyQt5/

Use the standard Python update tools to install these packages for your Python configuration. You must use the correct pip-tool for your installation. The pip-tool name is dependent on the what product has installed Python. The installation instructions for Python have instructions on using pip tools.

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).