|
From: Bhavani <bha...@sy...> - 2001-11-23 09:12:28
|
Here I am making use of BioPython Api to fetch the Gene details
thro NCBI Database server. If it is in Python environment it works
fine. But If I convert that Python class to Java class using the
Jython tool and try to run java (python) class it is throwing an
exception
Exception details are below:
---------------------------------------
Error in GeneSearch
Java Traceback:
at org.python.core.Py.ImportError(Py.java)
at org.python.core.imp.importFromAs(Compiled Code)
at org.python.core.imp.importFrom(imp.java)
at GeneSearch$_PyInner.main$4(GeneSearch.java:169)
at GeneSearch$_PyInner.call_function(GeneSearch.java:58)
at org.python.core.PyTableCode.call(Compiled Code)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.imp.createFromCode(imp.java)
at org.python.core.Py.initProxy(Compiled Code)
at GeneSearch.__initProxy__(GeneSearch.java:227)
at GeneSearch.<init>(GeneSearch.java:205)
at GeneSearchTest.main(Compiled Code)
Traceback (innermost last):
File "D:\jython2.1\SampleProj\GeneSearch.py", line 0, in main
ImportError: cannot import name GenBank
***** Here GenBank is present in Biopython API and is going to
installed seperately into python directory after installing python
I have installed the Biopython api in the Lib direcotry of python
and even updated the python.path to point to the respective
directory both in registry file of jython as well as the environmental
settings
Can you suggest me what are other settings I have to make to
make use of BioPython along with Jython
K.B.Bhavani
SysArris Software
Bangalore-India
Tel. No. 91-80-6654965,6655165
Fax No. 91-80-6650374
http://www.sysarris.com/
|