sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16137
Re: [Question #222395]: POST https Sikuli
Question #222395 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222395
Status: Open => Answered
RaiMan proposed the following answer:
you need the Python module requests from
https://pypi.python.org/pypi/requests
It might work in Sikuli, since it is Python only code. But you have to
give it a try, since Sikuli currently only supports Python language
level 2.5
download (but do not install!) and put the contained folder requests (this contains the Python module) into a folder, that is contained in sys.path:
e.g. on Windows this is
%ProgramFiles%\Sikuli X\Lib (where you have installed Sikuli)
You have to create this folder if it does not exist yet.
But you might choose any other folder, but then you have to add it to
sys.path before the import
requestsLib = path-to-folder-containing-requests
if not requestsLib in sys.path: sys.path.append(requestsLib)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.