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 |
|
Size |
0.02 MB |
SHA-256 |
adcc00210c9c34aa7bdcb0ac96c19dfabf5c7bacc826f01b0f71d328167618c6 |
Source distribution for installing PyWorkbench:
Artifact |
|
Size |
0.02 MB |
SHA-256 |
22ca62345dbd52befe9cc64d6ca06d67ee09b655f05b567375a2dd1b13398b69 |
Install artifacts#
Install Linux artifacts by using the pip command:
python -m pip install ansys_workbench_core-0.11.0-py3-none-any.whl
python -m pip install ansys_workbench_core-0.11.0.tar.gz
Verify installation#
Verify a successful installation of PyWorkbench by running this code:
from ansys.workbench.core import launch_workbench
launch_workbench()