Skip to content
This repository was archived by the owner on May 31, 2020. It is now read-only.
This repository was archived by the owner on May 31, 2020. It is now read-only.

Do we have Python library support in voc like Numpy? #975

Open
@kishcs

Description

@kishcs

Hi,

I was trying to compile and build python code with Numpy library, but I get error.
So I would like to know the scope of current VOC and what libraries it supports.

my code:
from java.lang import System
import numpy as np

print("JRE version:", System.getProperty('java.version'))
print("JAVA from:", System.getProperty('java.vendor'))
print("Current Classpath:", System.getProperty('java.class.path'))
ver = np.version.version
print("Numpy version:", ver)
print("Numpy version:", np.version.version)

I get error like:

JRE version: 12.0.2
JAVA from: Oracle Corporation
Current Classpath: ../dist/Python-3.7-Java-support.b7.jar;.
Exception in thread "main" NameError: name 'version' is not defined
        at org.python.java.Module.__getattribute__(Module.java:33)
        at python.javainfo.module$import(javainfo.py:7)
        at python.javainfo.main(javainfo.py)

Please put some light on it. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions