Installation
Install and configure the NomadicML SDK
Installing the NomadicML SDK
This guide covers the installation and basic configuration of the NomadicML Python SDK.
Prerequisites
- Python 3.8 or higher
- pip (Python package installer)
Installation Options
Standard Installation
Install the SDK directly from PyPI:
This is the recommended method for most users.
Development Installation
If you want to contribute to the SDK or need the latest unreleased features, you can install from source:
With this installation, any changes you make to the code will be immediately available when you import the package.
Getting Your API Key
To use the SDK, you’ll need an API key:
- Create an account on drivemonitor.nomadicml.com if you haven’t already
- Log in to your account
- Go to Profile > API Key
- Generate a new API key
- Copy the key (note that it will only be shown once)
Basic Configuration
Once you have the SDK installed and your API key, you can initialize the client:
Verifying Installation
To verify that everything is set up correctly:
Troubleshooting
Common installation issues and solutions:
API Key Issues
If you encounter authentication errors:
- Ensure your API key is correctly copied
- Check that your account has an active subscription
- Verify your network can reach the NomadicML servers
Package Conflicts
If you encounter package conflicts:
- Try installing in a virtual environment
- Update to the latest version with
pip install --upgrade nomadicml
Next Steps
Now that you have the SDK installed and configured, you can: