bcdev / jpy

A bi-directional Python-Java bridge used to embed Java in CPython or the other way round.
Apache License 2.0
187 stars 37 forks source link

Importing Pip installed modules and custom modules #165

Open Jbiloki opened 5 years ago

Jbiloki commented 5 years ago

Given another python module in src/main/python/mymodule/init.py I cannot import this through java using:

PyLib.startPython(); PyModule deepCrfRef = PyModule.importModule("mymodule");

I cannot also use numpy or other installed dependencies. Is there a better way to go about this?