I use Python’s AsposeCells to generate PNG images from excel files. First off, it works properly with my Python code. But I encountered this issue when I tried to turn my script into an exe file with Pyinstaller. I couldn’t come up with a solution for this. Please assist me.The line that generates the exception and the exception are given below.
My dependencies: Python = 3.11.1 aspose-cells=23.1.0 JPype1=1.4.1


Could you please refer to the following steps if it works:
Create a folder as c:\app, and copy example.py(attached) to c:\app Now, open your command prompt, type the below commands in the prompt.
cd c:\app
pyinstaller example.py
copy the jars(aspose-cells-23.1.jar, bcprov-jdk15on-160.jar, bcpkix-jdk15on-1.60.jar, JavaClassBridge.jar. They exist in C:\Python311\Lib\site-packages\asposecells\lib folder) to c:\app
edit example.spec to add datas section like below
PS. I am working as Support developer/ Evangelist at Aspose.