Using 3rd Party Python Packages with Abaqus

With the update to Python 3, the interoperability of Abaqus Python with many 3rd party packages has been greatly improved.  To make it easier to try installing 3rd party packages, R&D has added the abqPip command starting in Abaqus 2024 FD02.

To access and learn about the functionality, type the following at the command line:

abaqus python -m abqPip -h
usage: abqPip.pyc [-h] [-d DIRECTORY] [-e EXTRA_DIR] {install,list,show} [package ...]

This is a tool for retrieving additional Python packages for use with Abaqus Python, or for getting information about previously retrieved packages. Available actions are 'install', 'list', and 'show' for installing, listing previously installed, and getting detailed information about packages. Packages will not be installed in the Abaqus installation, but in a specified target directory, which can then be included in PYTHONPATH or added to Python's sys.path for use in Abaqus Python or Abaqus/CAE.

positional arguments:
  {install,list,show}
  package               Package name as with pip

options:
  -h, --help            show this help message and exit
  -d DIRECTORY, --directory DIRECTORY
                        Target directory to place packages when installing,
                        or primary location to look for previously
                        installed packages. Default is site-
                        packages/pythonX.Y under the current directory
  -e EXTRA_DIR, --extra_dir EXTRA_DIR
                        Extra site package directory to look for previously
                        installed packages

Note that this functionality is provided as a convenience.  SIMULIA does not officially guarantee or support interoperability with 3rd party Python packages that aren't bundled with Abaqus Python.

More information about the abqPip functionality can be found on the DS Knowledge Base in article QA00000337060.