Article ID: 000089237 Content Type: Error Messages Last Reviewed: 05/20/2022

Error: “ImportError: libpython3.9.so.1.0: Cannot Open Shared Object File” When Deploying OpenVINO™ Toolkit via Heroku*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Steps to add support for apt-based dependencies for deploying OpenVINO™ Toolkit via Heroku

Description

Unable to deploy OpenVINO™ Toolkit via Heroku:

ImportError: libpython3.9.so.1.0: cannot open shared object file: No such file or directory

Resolution
  • Add runtime.txt file to the app’s root directory to specify Python runtime:
    python-3.9.1

  • Add an Aptfile file to app’s root directory to specify custom repositories:
    libpython3.9

Related Products

This article applies to 2 products