我正在尝试使用Aspose单元格使用Excel文件,以便我可以对其进行加密,但是由于Java而无法使用它
import jpype
import asposecells
jpype.startJVM()
from asposecells.api import *
对于此代码,我会收到以下错误
JVMnotFoundException:未找到JVM共享库文件(JVM.DLL)。尝试正确设置Java_home环境变量。
我正在通过jupyter笔记本中的Anaconda进行此操作。我正在尝试从Aspose单元中获取工作簿。
import jpype
import asposecells
jpype.startJVM()
from asposecells.api import *
for this code, I get the following error
JVMNotFoundException: No JVM shared library file (jvm.dll) found. Try setting up the JAVA_HOME environment variable properly.
I am doing this through anaconda, in jupyter notebook. I am trying to get the workbook from aspose cell.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎配置问题。尝试正确设置环境。确保安装Java和设置Java_home和路径环境变量,请参阅有关如何设置环境和安装用java使用aspose.cells for python进行参考。您也可以将查询发布到专用 e节。
PS。我正在Aspose担任支持开发人员/传播者。
It seems configuration issue. Try to setup your environment properly. Make sure to install Java and setup JAVA_HOME and Path environment variables accordingly, see the document on how to setup environment and installation to use Aspose.Cells for Python via Java for your reference. You may also post your queries in the dedicated section.
PS. I am working as Support developer/ Evangelist at Aspose.