Installation odm-sdk¶
Requirements¶
- Python 3
- pip
Instructions¶
Install¶
-
Start a console/terminal:
-
Install the latest version using pip:
To install a specific version of a package, simply append the version number to the package reference in the command. For example: odm-sdk==1.57.0
To check the existing version, and view all available console commands, type¶
You can always remove the package with a help of this command¶
Troubleshooting¶
Version mismatch¶
If you encounter an error while working with the SDK, the most common reason is a version mismatch between your installed SDK and the ODM.
Reinstall the SDK to match the version deployed in your environment:
You can verify the currently deployed version by navigating to the ODM homepage.
Check where the SDK is installed¶
If you're unsure which environment your SDK was installed in, or if you're dealing with multiple Python installations, use the following commands:
macOS / Linux¶
Or to see the actual path of the installed SDK:
Look for the line:
Windows¶
Open Command Prompt or PowerShell and run:
Or check the SDK location directly:
This helps verify whether the SDK was installed in the correct Python environment (e.g. system Python, virtualenv, conda, etc.).
Python environment not visible in ENV¶
If you run the ENV command (or check environment variables) and don't see your Python environment listed, it may not be properly added to your system's PATH.
How to locate the Python path¶
macOS / Linux¶
Use the which command:
Or for pip:
This shows the full path of the active Python interpreter or pip binary (e.g., /usr/local/bin/python3).
Windows¶
Use the where command:
Or:
This returns the full path to the installed Python executable (e.g., C:\Users\yourname\AppData\Local\Programs\Python\Python310\python.exe)
Add it to your PATH manually¶
macOS / Linux¶
Edit your ~/.bash_profile, ~/.zshrc, or ~/.bashrc:
Then apply the changes:
Windows¶
1- Open System Properties > Environment Variables
2 - Under System variables, select Path and click Edit
3 - Click New and add the path to your Python or Scripts folder (e.g., C:\Python310\Scripts)
4 - Click OK and restart your terminal or IDE
After updating PATH, restart your shell or command prompt to apply the change.