Server software requirements
To use MI Scripting Toolkit 4.2, your Granta MI server must be running 2023 R1 or later, which includes Service Layer Interface 22/04.Client software requirements
MI Scripting Toolkit 4.2 for conda requires conda 4.12.0 or later.NOTE
MI Scripting Toolkit is only supported when used with the miniforge-provided version of the conda package manager. The use of other conda editions (for example miniconda or Anaconda) may work, but their use is unsupported. At a minimum, you must enable theconda-forge package source with the following command before following the installationinstructions on this page:
- [1] Automated testing performed on Ubuntu 22.04 development release. Manual testing performed on Ubuntu 22.04.4.
- [2] Manual testing performed on Ubuntu 24.04.2.
- [3] Manual testing performed on SLES 15 SP5.
- [4] Manual testing performed on RHEL 8.10.
- [5] Manual testing performed on Rocky Linux 9.4.
Required third-party packages
MI Scripting Toolkit depends on the following third-party packages:- filetype (>=1.2.0,<2.0.0)
- packaging (>=24.0,<25.0)
- python-dateutil (>=2.9.0,<3.0.0)
NOTE
The list above include only the direct dependencies of the Scripting Toolkit package. The transitive dependencies (dependencies of dependencies) are not given here, since in general they depend on the specific version of the dependency that is selected, and as a result will change over time. The recommended way to determine the full requirements at a particular point in time is to install the Scripting Toolkit into a new Conda virtual environment, and then useconda list to display the installed packages.
Installing MI Scripting Toolkit
MI Scripting Toolkit is provided as a zip file, and is available from the Downloads page on the Ansys Customer Portal. This section assumes that the zip file has been downloaded and the contents have been unzipped to the location/home/user/scripting_toolkit.
To install MI Scripting Toolkit, enter the following into the Linux command line:
Additional conda dependencies
MI Scripting Toolkit defines optional dependencies as additional packages:granta_miscriptingtoolkit.notebooks: Required to execute the Example notebooks.granta_miscriptingtoolkit.oidc: Required to use OpenID Connect (OIDC) authentication.
granta_miscriptingtoolkit package to provide additional
functionality. For example, to install the dependencies required to run the notebooks:
[notebooks] extra includes the following additional dependencies:
- jupyterlab (>=4.0.0,<5.0.0)
- matplotlib (>=3.6.0,<4.0.0)
- numpy (>=2.0.0,<3.0.0)
- pandas (>=2.1,<3.0)
- python-docx (>=1.1.0,<2.0.0)
- python-pptx (>=1.0.0,<2.0.0)
- scipy (>=1.11.0,<2.0.0)
- seaborn (>=0.13,<0.14)
[oidc] extra includes the following additional dependencies:
- keyring (>23,<26)