Re: Exception during numpy import
John Hubbard <[email protected]>
| Newsgroups | gmane.comp.lang.jython.devel |
|---|---|
| Organization | NSO |
| Message-ID | <[email protected]> |
On 01/29/2015 08:35 AM, Pradeep Badiger wrote:
>
> Hi,
>
> I am trying to import numpy (1.9.1 for python 2.7) package in a jython
> script and this script is executed using jython-standalone (v 2.7-b1)
> APIs.
>
> I have set the path to numpy by setting the properties in
> PythonInterpreter
>
> Properties props = *new*Properties();
>
> props.setProperty("python.path", "C:\\Python27\\Lib\\site-packages");
>
> PythonInterpreter./initialize/(System./getProperties/(), props,
> *new*String[] {""});
>
> I am getting following exception while evaluating the script.
>
> [snip]
>
> Also I tried with jython-standalone-2.7.b3 and it gave me a different
> exception.
>
> [snip]
>
> Can someone help me on which version of numpy is supported with the
> release of jython?
>
Unfortunately I do not believe that Jython supports NumPy at the
moment. See http://jyni.org/ for information about a project trying to
bring support for NumPy (and others) to Jython. The JyNI paper
mentioned under the 2014-05-01 news section is a interesting read if you
have a moment.
--
-john
To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111
255, that is the answer.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev