Install PyWorkbench locally in Windows#
This page explains how to install PyWorkbench locally on a Windows platform.
Note
The following instructions assume that you have a local installation of Workbench and a valid license in your machine.
There are two ways to install PyWorkbench on Windows:
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 Windows. Wheel artifacts are the preferred option for installing PyWorkbench.
Wheel artifacts for installing PyWorkbench:
Artifact |
|
Size |
0.02 MB |
SHA-256 |
9ceb1ad4a4dd3f8256798314f8464f006457d5aec6c823709ecd41c5cb7e1155 |
Source distribution for installing PyWorkbench:
Artifact |
|
Size |
0.02 MB |
SHA-256 |
3bc3d2494176a1fc1146a27191cf9d961b58af5baf0c4abf33e6d2ff79793ae3 |
Install artifacts#
Install Windows 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:
from ansys.workbench.core import launch_workbench
launch_workbench()