@ramkumar.rajamani
From the provided screenshot information, it appears that there is an issue with your import. Workbooks do not exist in Cells. Please refer to the following code.
from asposecells.api import Workbook
Regarding the classes contained in the Aspose.Cells for Python via Java library, please refer to the APIs document.
Also, would you like to provide sample code and file? We will check it soon.
@ramkumar.rajamani
It seems like you have installed aspose-cells, but the Python interpreter cannot find the installed package. Did you install the package using pip or conda? You can try uninstalling and reinstalling the package or restarting the Spark kernel. Alternatively, try manually deleting the aspose-cells package installed in the site-packages directory.
Thanks Zhu, module was installed using pip. since this is IBM spectrum spark cluster, planning to add this jars to the extra class path of drivers and executors to see if this goes away.
thanks for your inputs, will try reinstalling modules as well.
@ramkumar.rajamani
Sure, for now, let’s first consider the machine environment configuration. If you have any further questions, feel free to communicate at any time.
Circling back on this issue.
I did try reinstalling and adding the JARS, extraclass path, restarting kernel. I still have the same issue. no module named com.aspose. i tried importing using py4j using spark jvm and doesnt help.
quick question. is it working for you in PYSPARK environment?
all our process (batch) runs via spark python kernel via batch and we kind of stuck and unable to move forward with our proof of concept using asposecells due to this module not found error while running this job via spark python kernel.
@ramkumar.rajamani
My previous steps worked to run aspose-cells in the Python kernel. But how to run it in Spark Python? Please give detailed steps so that I can reproduce this issue. Thanks.