Aspose Words in Django/Python App on Heroku giving import error

Hi
I am trying to integrate Aspose.Words into one of our applications in our platform, in order to convert Word files to PDF. This platform is hosted on Heroku and therefore is a Linux container.
The platform is a Django/Python project and so I am making use of aspose-words.
When I import the library in the code, it gives the following error:
libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

I have consulted the Aspose System Requirements but this did not help. Does anyone have advice on how to get this running on our deployed server on Heroku?

Thanks very much in advance!
Josh

@joshbenjamin Heroku uses Ubuntu 22.04, which ships with OpenSSL 3.0, but the current version of Aspose.Words for Python requires OpenSSL 1.1. So to make it work on Ubuntu 22.04 it is required to install SSL1. Here is Dockerfile:

FROM ubuntu:22.04
RUN apt update \
 && apt install -y python3.10 python3-pip libgdiplus wget \
 && wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1_amd64.deb \
 && dpkg -i ./libssl1.1_1.1.1l-1ubuntu1_amd64.deb \
 && rm -i libssl1.1_1.1.1l-1ubuntu1_amd64.deb

ENTRYPOINT ["/usr/bin/python3.10"]