Skip to content

PyJMP installs an optional and independent Python environment that can be used with JMP

License

Notifications You must be signed in to change notification settings

industrial-data/pyJMP

Repository files navigation

pyJMP

An optional and independent Python environment that can be used with JMP (e.g. Predictor Explainer).

The following instructions don't require admin rights to install it.

Installation steps for Windows machines (Mac recommendations in the Annex)

1 - Download and install the latest version of pyJMP

Download

Right click on the zip file, go to Properties and and mark the Unblock option if it is activated.

Unzip the pyJMP folder in your desktop and click the / installation/click_to_install.bat file which will install minforge but also all the required packages.

As you downloaded this file from your browser, a blue window may appear saying the following:

The .bat files simply automates the creation of folders and installation steps (you can open it with a notepad). Essentially, a folder called C:\ProgramData\Miniforge_JMP will be created and used to install Miniforge (URL). Your default Python, if any, will not be affected by this installation as it will be independent. If you want to install it manually in this folder, please check 'Just me' and deactivate any option that asks to use this installation as default (or path).

Miniforge (URL) is used instead of Anaconda due to licensing, but they are equivalent. Your antivirus may not recognize miniforge, the file (check with your IT department).

A list of python packages (package-list_min.txt) will be downloaded and installed. This is what you will see when the installation finishes:

If you have an error due to package conflicts, press enter or escape/enter to continue.

Your VPN or firewall might also block the full installation of Miniforge and the packages.

In case any of this work, you can install miniforge manually and use the following command to install the packages (in principle, this should not be needed).

conda install -y -c conda-forge scikit-learn pandas numpy scipy matplotlib ipython jupyter numba dask datashader bokeh holoviews colorcet shap lightgbm umap-learn hdbscan optuna pynndescent

There is a direct access to miniconda console in the main pyjmp folder (see second image below)

The list of packages can be found in package-list_min.txt with the total dependencies and their versions package-list_ver.txt

Miniforge (URL) is recommended over miniconda/Anaconda to avoid these mistakes. You can see the Annex for more information about his.```

2 - Test the installation

In your pyJMP folder go to ./tests and execute the run_python_installation.bat

If successful, you will see the following

Alternatively, you can also open a miniconda or jupyter notebook session.

These direct access icons are NOT needed for JMP to work, but may become handy if you want to modify the code deployed with JMP add-ins. You can place them wherever you want before deleting the pyJMP folder.

3 - New features and bugs

In case you found any error or bug installation or testing pyJMP, please submit a ticket.

Annex: Anaconda is no longer free

Anaconda changed its license (see FAQ), which means that users will require a commercial version. You can check the version opening "Anaconda or Miniconda Prompt (windows application) and enter Python.

This may require a commercial license. Miniconda prompt and conda-forge packages, should not require a commercial license.

Annex II: Mac installations

PyJMP is not configured for MacOS installations yet. You can manually install minforge making sure you select the option of modifying environments (default is no).

First, install Miniforge by opening a terminal.

curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-$(uname -m).sh"

If conda command is not recognized, run the following command in your terminal.

/Users/YOURUSERNAME/mambaforge/bin conda init zsh

About

PyJMP installs an optional and independent Python environment that can be used with JMP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors