Error - Couldn't find a valid ICU package installed on the system

I’m a beginner, just trying to get started on using the aspose.words library for python, but I’ve hit an immediate roadblock. I used pip install aspose-words which appears to work. However, when trying to run the test script exactly as seen in the product page, I get the following error:

Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.Globalization.CultureInfo.get_CurrentCulture()
   at System.Globalization.NumberFormatInfo.get_CurrentInfo()
   at System.Guid.TryParseExactD(System.ReadOnlySpan`1<Char>, GuidResult ByRef)
   at System.Guid.TryParseGuid(System.ReadOnlySpan`1<Char>, GuidResult ByRef)
   at System.Guid.TryParse(System.ReadOnlySpan`1<Char>, System.Guid ByRef)
   at System.Diagnostics.Tracing.EventSource.GetGuid(System.Type)
   at System.Diagnostics.Tracing.EventSource..ctor(System.Diagnostics.Tracing.EventSourceSettings, System.String[])
   at System.Diagnostics.Tracing.EventSource..ctor()
   at System.Collections.Concurrent.CDSCollectionETWBCLProvider..cctor()
   at System.Collections.Concurrent.ConcurrentDictionary`2[[System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].AcquireAllLocks(Int32 ByRef)
   at System.Collections.Concurrent.ConcurrentDictionary`2[[System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].get_Count()
   at hBb.j(Int32, Boolean)
   at hBb.i(Int32)
   at Hf..ctor(Int32)
   at Hf..ctor()
   at Hf..ctor(Boolean)
   at Aspose.Words.Properties.BuiltInDocumentProperties..cctor()
   at Aspose.Words.Properties.BuiltInDocumentProperties..ctor()
   at Aspose.Words.Document..ctor(dZ)
   at Aspose.Words.Document..ctor()
   at WrpNs_Aspose.WrpNs_Words.WrpCs_Document_44597C31.ctor_000_Document()
Aborted (core dumped)

The error appears to happen as soon as aw.Document() is called for the first time.

My os is linux (Kubuntu 22.10).

Any idea where I can start fixing this issue?

@OliverG Please see our documentation to learn about additional requirements of Aspose.Words in Linux:
https://docs.aspose.com/words/python-net/system-requirements/#system-requirements-for-target-linux-platform

Also, it might be required to install libicu-dev package. Here is working Dockerfile configuration on Ubountu:

FROM ubuntu:20.04

ENV DEBIAN_FRONTEND="noninteractive"

RUN apt-get update -y
RUN apt-get install -y python3-pip
RUN apt-get install -y libpython3.7
RUN apt-get install -y pkg-config libicu-dev

WORKDIR /usr/app/src

# Copy function code
COPY app.py ./

RUN  pip install aspose-words

CMD [ "python3", "app.py"]