Install PyWorkbench locally in Linux#

This page explains how to install PyWorkbench locally on a Linux platform.

Note

The following instructions assume that you have a local installation of Workbench with a valid license.

There are two ways to install PyWorkbench on Linux:

Install from PyPI#

PyWorkbench is available on the Python Package Index (PyPI). You can install PyWorkbench using this pip command:

python -m pip install ansys-workbench-core

Verify the installation by running this code:

from ansys.workbench.core import launch_workbench

launch_workbench()

Download artifacts#

Start by downloading PyWorkbench wheel or source artifacts for Linux. Wheel artifacts are the preferred option for installing PyWorkbench.

Wheel artifacts for installing PyWorkbench:

Artifact

ansys_workbench_core-0.10.0-py3-none-any.whl

Size

0.02 MB

SHA-256

9ceb1ad4a4dd3f8256798314f8464f006457d5aec6c823709ecd41c5cb7e1155

Source distribution for installing PyWorkbench:

Artifact

ansys_workbench_core-0.10.0.tar.gz

Size

0.02 MB

SHA-256

3bc3d2494176a1fc1146a27191cf9d961b58af5baf0c4abf33e6d2ff79793ae3

Install artifacts#

Install Linux artifacts by using the pip command:

python -m pip install ansys_workbench_core-0.10.0-py3-none-any.whl
python -m pip install ansys_workbench_core-0.10.0.tar.gz

Verify installation#

Verify a successful installation of PyWorkbench by running this code:

from ansys.workbench.core import launch_workbench


launch_workbench()