Troubleshooting

Published

September 13, 2024

Learn how to resolve commonly encountered issues with the developer framework.

Cannot install the ValidMind Developer Framework

Issue

You cannot run pip install validmind or import validmind as vm in the ValidMind Developer Framework notebooks.

Fix

Make sure you are installing the latest version of the developer framework by running this command:

%pip install --upgrade validmind

Cannot initialize ValidMind client library

Issue

When you run vm.init(), you encounter an error message like this:

MissingAPICredentialsError: API key and secret must be provided either as environment variables or as arguments to init.

or

InvalidProjectError: Invalid project ID. Please ensure that you have provided a project ID that belongs to your organization.

Fix

Make sure that you are using the correct initialization credentials for the model you are trying to connect to.

Follow the steps in Install and initialize the client library for detailed instructions on how to integrate the developer framework and upload to the platform UI.

Additional resources

Check out our FAQ page to browse through common questions, or contact our support team for more help troubleshooting technical issues.