This video includes Q&A from attendees who attended the live webinar on March 21, 2024. at time 25:36- 50:39 and 01:00:21 A summary of some of the Q&A is provided below. For a full answer, consider reviewing the Q&A in the video.
Q: Can you send me what the GAPs are from JMP 16 to 18.
A: See the full release notes and version update notes.
Q: If python 3.11 is the default version, what about using libraries that rely on older versions of python? Will there be some level of backwards compatibility with no guarantee of script running?
A: It will depend on what you can get from package repositories for 3.11. If they work across versions. ,they may not run or you may get message ‘package not found.’ Some packages require compilation and you must compile in a development environment on your system and in a few cases you have to install a standard 3.11 installation.
Q: I want to ensure that this is doesn't require Anaconda/Miniconda/Conda due to the cost and license requirement of these platforms.
A: These are NOT required.
Q: Can package installation be redirect to a controlled repository? We cannot install directly from pypi.org without auditing them first. I wasn't clear from your description if we could, for instance, create a venv, do package installation and then run that script in JMP's script editor.
A: No, we do not support venv and our environment is very close to that. Most redirected packages require carefully changing vars in the jpip wrapper.
Q: Is possible to read the Python JMP environment and know how many packages you have installed? as a user would like to keep track of packages version.
A: pip will give you the list of packages installed.
Q: Is there any tab level dependency to the python code in this environment?
A: The editor follows Python conventions. Reformat is not enabled. We will look at this for future release.
Q: Can I bundle python packages for my enterprise installation of JMP so my end user does not need to install libraries? For example, if I wanted to do a Python statistical analysis currently not in JMP (like Paul showed) can I publish that analysis report to JMP Live for my org to view and interact with.
A: If you can get your output into a JMP report you can publish it. At present JMP Live does not support Python scripts running on the server but there are some security concerns that require more research to assure we don't compromise security.
Q: Does this mean JMP can't use other versions of Python? On the whole, if that's the tradeoff to having all the environment stuff handled so nicely, I think it's probably great, but just wondering.
A: Yes, you can use Python in JMP and then save to your external process and operate on the saved file. Python.org supports a Python version for only 5 years, so we chose this version to try to give us a full JMP 18-month cycle for users to use this. We will switch to later versions later to give users a full 5 years if possible. To clarify:
JMP 18 will only utilize the installed embedded Python 3.11. Python Init() and Python Connect() parameters for selecting a Python installation have all been deprecated and the parameters ignored.
JMP 18's Python is an isolated environment so it will not (should not) conflict with other Python installations on your system. There is nothing that prevents you from utilizing your existing Python pipeline. You can use JMP's Python to get data to and from JMP to hand off to your existing pipeline.
Q: Today as user i create Add-ins in JSL. Can i with JMP 18 create add-ins that combine JSL and Python as I see best fit?
A: Yes ,with the caveat that the add-in builder does not recognize Python files yet but you can edit the zip file and you can add the python file and JMP can run it.
Q: If I want to access a JMP data table from jupyter notebook in a different Python environment, would the 'import ‘JMP' instruction still work?
A: No.
Resources