AI Center On-Premise — installationDir is empty, skipping pip install when deploying custom ML Package

Hi everyone,

I am trying to deploy a custom Python ML package to UiPath AI Center on-premise (v25.10) running on RKE2 Kubernetes v1.34 on RHEL 8.10. The package is configured with Python 3.12.

Since our Kubernetes pods do not have internet access due to enterprise firewall restrictions, I am bundling all required Python wheels and the model files directly inside the ZIP package. The requirements.txt is configured to install from a local packages folder using --find-links and --no-index so that no internet connection is needed during deployment.

The ZIP structure follows AI Center’s validation requirement of having a unique root folder containing main.py, requirements.txt, the model files, and the pre-downloaded wheel files.

However, when the ML Skill is deployed, the pod goes into CrashLoopBackOff with the following logs:

contentDir is not empty, reusing content
installationDir is empty, skipping pip install
ModuleNotFoundError: No module named 'transformers'

It appears AI Center is skipping the pip install step entirely, which means our bundled wheels are never installed and the package fails to load.

My questions are:

  1. What exactly is installationDir and where does AI Center expect to find requirements.txt after extracting the ZIP?
  2. Is bundling wheels inside the ZIP using --find-links and --no-index a supported approach for air-gapped/offline environments?
  3. Is there a way to force AI Center to re-run pip install and clear the content cache on-premise?

Any guidance would be greatly appreciated. Thank you!

Hello @sathvik.sk!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff