Help Center/ ModelArts/ Troubleshooting/ Inference Deployment/ AI Application Management/ Invalid Runtime Dependency Configured in an Imported Custom Image
Updated on 2024-06-11 GMT+08:00

Invalid Runtime Dependency Configured in an Imported Custom Image

Symptom

When a custom image is imported through an API to create an AI application, the runtime dependency is configured, but the pip dependency package is not properly installed.

Possible Causes

An imported custom image does not support the runtime dependency. The system does not automatically install the required pip dependency package.

Solution

Create a custom image again.

Install the pip dependency package (for example, the Flask dependency package) in the Dockerfile file that is used to create the image.