Troubleshooting
Troubleshooting
403 Forbidden
- Verify
GOOGLE_APPLICATION_CREDENTIALSpoints to a valid service account key file. - Confirm the file path is absolute and the file exists.
- Check that your service account has read access to the repository.
Keyring Errors
- Ensure
keyrings.google-artifactregistry-authis installed in the same Python environment you are using to runpip. - If using a virtual environment, install the auth helper inside it.
pip install --upgrade keyrings.google-artifactregistry-auth
SSL / Network Errors
- Check your network connection and proxy settings.
- If behind a corporate proxy, configure
pipto use it:
pip install --proxy https://proxy.example.com:8080 <PACKAGE_NAME>
- Ensure your system CA certificates are up to date.