如何在 GraalVM 中使用 Python

问题描述

我想使用 Quarkus 框架在 GraalVM 中运行 Python 脚本。

首先,我使用 javascript 进行了测试,并且能够运行 js 脚本。然后我转向 Python,但我目前遇到了错误

IllegalArugmentException: A language with id 'python' is not installed. Install languages are: [js].

但是我已经按照以下步骤在本地 GraalVM 安装中安装了 python:https://www.graalvm.org/reference-manual/python

有一件事,我将它用于 js:

<dependency>
    <groupId>org.graalvm.js</groupId>
    <artifactId>js</artifactId>
    <version>${graalvm.version}</version>
    <scope>runtime</scope>
</dependency>

是否有对 Python 的依赖?我尝试在 mvnrepository.com 中搜索 org.graalvm.python,但到目前为止我还没有找到任何东西。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)