Aspose.pdf for python via .NET dependency issue on Linux server

I am using Aspose.pdf for python via .NET library on Red Hat Enterprise Linux server and facing the issue -

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.

Please suggest what needed to be done to solve the issue.

@sakshampefo

To resolve the issue you’re facing with the Aspose.pdf for Python via .NET on your Red Hat Enterprise Linux server, you can try the following steps:

  1. Check for ICU Package: Ensure that the ICU (International Components for Unicode) package is installed on your system. This package is essential for globalization support in .NET applications.

  2. Set Globalization Configuration: If you prefer to run your application without globalization support, you can set the System.Globalization.Invariant configuration flag to true. This can be done by adding the following code snippet to your application:

    import clr
    clr.AddReference('System.Globalization')
    import System.Globalization
    System.Globalization.CultureInfo.Invariant = True
    
  3. Update the API: Make sure you are using the latest version of the Aspose.pdf API, as updates may include fixes for compatibility issues.

If you continue to experience problems after trying these steps, please provide additional details about the error, and we can assist you further.