sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34586
Re: [Question #271221]: [1.1.0] How to use python installed (PIP packages) like logstashformatter or jsonlogger in SikuliX?
Question #271221 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271221
Summary changed to:
[1.1.0] How to use python installed (PIP packages) like logstashformatter or jsonlogger in SikuliX?
Description changed to:
************* solution for 1.1.0:
- make a folder Lib/site-packages in your SikulixAppData folder
- add a file sites.txt into that folder
- in the file have a line containing the absolute path to your Python site-packages folder
- restart the IDE
as a test just simply use the one-liner
import jsonlogger
this should work now
(not yet in the docs ;-)
---------------------------------------------------------------------
I'd like to log my sikuli script results in json format via python module(s) logstashformatter or jsonlogger?
Both modules are installed via PIP and work fine from the python command line, but when called via Sikuli-IDE I get an error: [error] ImportError ( No module named logstash_formatter )?!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.