sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08004
Re: [Question #184242]: How to import numpy?
Question #184242 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184242
Status: Open => Answered
RaiMan proposed the following answer:
The Numpy Python package can only be used with C-Based Python
interpreters (Sikuli uses Jython, which is a Java based interpreter for
the Python language (level 2.5)).
For some insight: http://stackoverflow.com/questions/3097466/using-
numpy-and-cpython-with-jython
In general Python modules completely written in Python language (e.g.
xlrd) or available in a version that is ported to Jython compatibility
(like all the standard modules that come with Python 2.5) can be
imported, when the folder containing the module is in Sikuli's sys.path.
see docs: http://sikuli.org/docx/globals.html#importing-other-sikuli-
scripts-reuse-code-and-images
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.