6.1. Getting Started

Installing AML Python Module

The wheel file for the AML Python Module installation is in the Ansys installation location directory, INSTALLDIR\v242\ansys\bin\winx64 for Windows or INSTALLDIR\v242\ansys\bin\linx64 for Linux. To install the AML Python Module extension, navigate to the directory above and run the following command:

anspython -m pip install ansys_mapdl_materials-0.1.dev0-py3-none-any.whl


Note:  anspython is a script used to access the Python installation provided by Ansys. You can use the anspython script just like Python to install pip packages, launch Jupyter Notebook, or install other Python packages. The anspython script sets up the path needed to access additional DLLs/Shared libraries needed to successfully use the Python module. AML Python Module will work only with the anspython script


Launching anspython

AML Python Module is supported only with anspython. To launch the installation, navigate to the INSTALLDIR\v242\ansys\bin\winx64 directory for Windows or the INSTALLDIR\v242\ansys\bin\linx64 directory for Linux and run the anspython.bat script located in that directory or run the anspython command in the command prompt. This sets up the library paths needed to correctly pick up any dependent shared libraries.