Installing AI SDK

AI SDK How-To

Product
AI Software Development Kit
Product Version
2.4.0
Language
en-US

Downloading AI SDK distribution package

Download the AI SDK distribution package and extract its content into your preferred folder.In the package you can find the binary distribution, constraints.txt along with User Manual and further information.In the section Using the AI SDK with End-to-End Tutorials we assume that the content is extracted into your home folder as ~/ai-sdk-core.

Installing AI SDK from binary distribution

To install the AI SDK from the Python wheel file, simply use pip in a Python 3.10 or 3.11 environment. This will ensure the installation of any additional required Python packages.

pip install simaticai-2.4.0-py3-none-any.whl

Note that, by default, pip installs the latest available version of the required packages that are compatible with the AI SDK and any other packages that might already be installed. If you want to ensure that you use the versions listed in Readme_OSS, you can apply the appropriate constraint during installation as follows:

pip install simaticai-2.4.0-py3-none-any.whl -c constraints.txt

The constraints.txt file is also delivered beside the simaticai-2.4.0-py3-none-any.whl in the zipped delivery ai_sdk_core-2.4.0.zip.Note that this increases the probability that pip will not be able to resolve all applicable restrictions or that an older package and versions with security issues will be installed.

To use the AI SDK from your Python code, you must import modules from the simaticai namespace. For more information, refer to the User Guide, AI SDK API reference, or end-to-end tutorials.