Troubleshooting
Learn how to resolve commonly encountered issues with the ValidMind AI risk platform.
Cannot access expected features
Issue
You cannot access functionality described in our user guides or recent releases.
Fix
Make sure you are running most recent versions of ValidMind,1 and have the proper permissions assigned.2
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 framework3 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: Model could not be found
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.
How to upgrade
ValidMind Platform UI
To access the latest version of the ValidMind Platform UI,4 hard refresh your browser tab:
- Windows:
Ctrl
+Shift
+R
ORCtrl
+F5
- MacOS:
⌘ Cmd
+Shift
+R
OR hold down⌘ Cmd
and click theReload
button
ValidMind Developer Framework
To upgrade to the latest version of the ValidMind Developer Framework:5
In your Jupyter Notebook:
Locate the
%pip install -q validmind
cell and replace the contents with:%pip install --upgrade validmind
Run the edited code cell.
You may need to restart your kernel after running the upgrade package for changes to be applied.