Skip to main content

Troubleshooting

Troubleshooting

403 Forbidden

  • Verify GOOGLE_APPLICATION_CREDENTIALS points 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-auth is installed in the same Python environment you are using to run pip.
  • 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 pip to use it:
pip install --proxy https://proxy.example.com:8080 <PACKAGE_NAME>
  • Ensure your system CA certificates are up to date.