Comments (4)
@CptGummiball very simple scripts may work, but these warnings tell you that many more complex things will not. Try using the struct module, email or xml parser for example. You can change the warnings using log.python.level
if you want to ignore this.
from graal.
@CptGummiball the proper way to fix this for you is to fix your dependency: https://github.com/CptGummiball/Spython/blob/4b2c2bf426014bf1cd7f55dfab13151d1366ac15/pom.xml#L87
You have
<dependency>
<groupId>org.graalvm.python</groupId>
<artifactId>python-language</artifactId>
<version>23.1.2</version>
</dependency>
It should be
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>python</artifactId>
<version>23.1.2</version>
</dependency>
To elaborate a bit: python-language
is really just the language, without most of the standard library. In fact, that there's any library in that at all (like e.g. the re
module) is just an implementation detail and may change without notice. The python
artifact pulls in both the language and the standard library as dependencies.
from graal.
@timfel Thx, the polyglot dependency not worked for me before but i think this was just a problem with the IDE.
from graal.
I will close this issue. its working now but i had to add "type"
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>python</artifactId>
<version>23.1.2</version>
<type>pom</type>
</dependency>
from graal.
Related Issues (20)
- [GR-53595] Segmentation fault in jvmci JIT method call HOT 3
- [GR-53596] Dump a native memory tracking (NMT) report on signal HOT 4
- `native-image` parameters are not compatible after upgrade to the patch version `22.0.1` HOT 6
- Unable to find language by ID despite registration, adding classpath, and jar HOT 5
- [GR-53767] Error: Feature com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath. HOT 4
- [Truffle][NFI] Related DLL Could not be loaded with Specified Module could not be found HOT 3
- BouncyCastle SP800SecureRandom initialization at build-time HOT 1
- Can't create isolate on Macos Sonoma 14.3.1 HOT 13
- no error message while having Exception. HOT 3
- GraalJS should support Ahead-of-Time(AOT) compilation to Native binary like GraalPy. HOT 5
- NoClassDefFoundError: com.oracle.svm.core.c.function.CEntryPointNativeFunctions HOT 2
- Native build failed after upgrade graalVM jdk 22 on linux but success on macOS HOT 4
- Error: java.util.concurrent.ExecutionException: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: type is not available in this platform: com.oracle.svm.hosted.NativeImageSystemClassLoader HOT 7
- [GR-53978] Class graph unable to load classes with GraalVM JDK21 HOT 12
- Print exception details/stacktrace when failed to add a library HOT 2
- Too heavyweight org.graalvm.shadowed.icu4j HOT 4
- Native Shared Library Unable To List Names of Annotated Class HOT 9
- [GR-54159] Fontconfig head is null, check your fonts or fonts configuration HOT 5
- Runtime reflection is not supported for public javax.ws.rs.core.Response$StatusType org.jboss.resteasy.specimpl.AbstractBuiltResponse.getStatusInfo() HOT 3
- Runtime reflection is not supported for public javax.ws.rs.core.Response$StatusType org.jboss.resteasy.specimpl.AbstractBuiltResponse.getStatusInfo() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graal.