Questions tagged [jepp]

Jepp embeds CPython in Java. It is safe to use in a heavily threaded environment, it is quite fast and its stability is a main feature and goal.

13 questions
3
votes
0 answers

How to compile jep for arm?

I am trying to develop a new android app, and i kinda got into a dead end. My app relies heavily on a popular python library (youtube-dl). I did some research and i found out about Jep, which embeds python in java using JNI. With the library i could…
David Barishev
  • 534
  • 7
  • 30
2
votes
1 answer

Java and Python Integration using Jep

I am trying python and java integration using Jep. I have loaded randomforest model from pickle file (rf.pkl) as sklearn.ensemble.forest.RandomForestClassifier object from java program using Jep. I want this loading to be one time so that I wanted…
Raj
  • 23
  • 1
  • 4
2
votes
1 answer

Link failure while building JEPP : cannot open input file 'dl.lib'

I am tried to build/install jepp using VS 2012, and received the following link failure LINK : fatal error LNK1181: cannot open input file 'dl.lib' I tried searching the net but cannot find any conclusive reference which would tell me what I might…
Abhijit
  • 62,056
  • 18
  • 131
  • 204
1
vote
1 answer

UnsatisfiedLinkError ,while using JEP

I am trying to use JEP to communicate with a python module from Java. I am using intellij on MacOS catalina I have done the following Used pip to install JEP, installation directory is /Applications/anaconda3/lib/python3.8/site-packages/jep/ Add…
Ayan Biswas
  • 1,641
  • 9
  • 39
  • 66
1
vote
0 answers

How do I set the Python interpreter with JEP (Java Embedded Python)?

I am trying to get the Java Embedded Python API (JEP) run with a custom-installed Python environment. Right now, it runs the default interpreter. It has been suggested here: https://groups.google.com/forum/#!topic/jep-project/1IzoddwEILE to set the…
kloop
  • 4,537
  • 13
  • 42
  • 66
1
vote
0 answers

Error while using deep copy in python, Jepp

num = 6 SG=np.empty((num),dtype=object) SG=[0.001,0.002,0.003,0.004,0.005,0.006] SG1=np.empty((num),dtype=object) for tempv in range(0,6): for tempt in range(tempv+1,6): if SG[tempv]==SG[tempt]: …
0
votes
0 answers

How to add JEP a java project using gradle?

I'm making a java application that needs to execute python scripts in runtime. I started by using Jython, but now I need to use CPython libraries, so I'm experimenting with JEP. I've installed JEP using the command pip install jep and I've added jep…
0
votes
0 answers

Unable to install jepp with pip

I am trying to install jep with pip on Windows. It gave me following error: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools It seems that we…
Mahesha999
  • 22,693
  • 29
  • 116
  • 189
0
votes
1 answer

sbt doesn't find class of managed dependency

I try to include the build of jep (https://mvnrepository.com/artifact/jep/jep/2.24) into this scala project using sbt: https://github.com/shadaj/scalapy So, instead of building jep manually via an unmanaged dependency, I want to include it as a…
TheDude
  • 1,205
  • 2
  • 13
  • 21
0
votes
1 answer

Jepp - Java Embedded Python jep.PyJList to Python list

I am using JEPP - java embedded python, I am trying to send a arraylist from java to python. while receiving the arraylist in python its type is jep.PyJList. now i have to cast that type(jep.PyJList) to normal python list.
0
votes
2 answers

jep for using scikit model in java

I am using jep for running python script in java, I basically need to run the script that uses scikit package. But it shows me error when I try to run, which I couldn't understand. This is the piece of code in my program, Jep jep = new…
Tamil
  • 31
  • 1
  • 3
0
votes
1 answer

Jep:error: [Errno 2] No such file or directory: 'DLLs\\jep.pyd'

During jep build I get the following error: I get this error when I run the below code python setup.py install How to overcome this? Thanks.
yoganathan k
  • 213
  • 4
  • 16
0
votes
5 answers

How to use python modules in jepp?

I'd like to use python modules in my python code. But I think jepp cannot handle it properly. For example: >>>from sklearn import linear_model >>>clf = linear_model.LinearRegression() >>>clf.fit ([[0, 0], [1, 1], [2, 2]], [0, 1,…
Balazs Varhegyi
  • 991
  • 1
  • 18
  • 37