-
Hello,
I'm trying to install Jepp on MacOS X 10.5.7 with Python 2.5.2. My install process has gone, so far:
download and untar jepp to ~/Develop/jep-2.3
./configure
make
sudo make install
export LD_PRELOAD=/usr/lib/libpython2.5.dylib
export LD_LIBRARY_PATH=/usr/local/lib
sudo ln -s /usr/local/lib/libjep.dylib /Library/Java/Extensions/libjep.jnilib
-- so far everything seems pretty...
2009-07-14 15:16:10 UTC in Java Embedded Python
-
Thanks for the response. I'm going to not worry too much about the javax scripting interface at the moment unless it really gives me troubles.
I'm more concerned about getting data in and out of Python! If I try to do what you suggest, I get the following:
Caused by: jep.JepException: <type 'exceptions.TypeError'>: 'PyJobject' object is unsubscriptable
at jep.Jep.run(Native Method)
2009-06-24 16:27:09 UTC in Java Embedded Python
-
Hi,
I should say that I'm really new to Java, but am quite used to working in Python. I've been told to use Jepp to create a sort of interface between our (currently nonexistent) Java API and the `scientific' work I've been doing happily in Python.
As a first step, I'm trying to get data from Java into Python, and I'm told the most natural way in Java to store lists of data is to use an...
2009-06-24 08:39:37 UTC in Java Embedded Python
-
OK - sorry about this. A bit of humble pie eating here:
Like the jepp website says in rather large letters one needs to export LD_PRELOAD. Once you do this, the above error doesn't occur. Sorry.
Mike.
2009-06-19 10:23:46 UTC in Java Embedded Python
-
Hello,
I'm having trouble importing modules. My example is for the pickle module, but I have similar trouble with numpy and scipy and urllib.
So, just to be on the safe side, I run
python -O -c 'import pickle'
to make sure the .pyo files have been generated. Then I start a console in jepp using
java -cp jep.jar jep.Run console.py
then I attempt to import pickle using...
2009-06-19 09:58:57 UTC in Java Embedded Python
-
We've come up with a workaround to this, which I thought I'd post in case it's useful. If you edit jepp's configure file and remove the test to figure out whether or not to use "-Wno-long-double" as a compiler flag then everything seems to be OK. At least it all builds fine.
Cheers,
Mike.
2009-06-19 09:15:18 UTC in Java Embedded Python
-
Hello,
I'm trying to build jepp in Debian (lenny). I am running into compilation issues and need some help! I'm using gcc 4.3.2 (gcc (Debian 4.3.2-1.1) 4.3.2). Below is the output from make, and below that is my configure output if that's of any help.
Cheers,
Mike Dewar
/usr/lib/jvm/java-6-sun//bin/javac -deprecation -classpath src/ src/jep/Jep.java...
2009-06-18 17:52:28 UTC in Java Embedded Python