← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #694382]: [2.0.4] Can not import python installed module (PIP packages) like Faker in Sikulix

 

Question #694382 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694382

    Status: Open => Answered

RaiMan proposed the following answer:
apparently, the Python module pkgutil (used inside faker) is not
compatible with Jython 2.7.1

Python modules, that are itself written completely in Python language
level 2.7, but rely on the Python eco-system, might not work in the
Jython environment.

I have no idea for a solution, besides running the Python stuff in a Python subprocess and exchange data with files.
This is an option, if the thing is not time critical.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.