Using python pyodbc library with Sikuli

Asked by Paul Good

pyodbc has been installed with python 3.6.
pyodbc works with plain vanilla python but cant get the import to work with sikuli 1.1.1.
The python install for pyodbc doesn't seem to have a any native py files for pyodbc, only a python extension, otherwise I would put the Lib python files in the Sikluli Lib path and try that.

Has anyone tried using pyodbc with Sikuli?

Thanks
Paul

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
masuo (masuo-ohara) said :
#1

You can use JDBC to access database.
There is a similar question.
https://answers.launchpad.net/sikuli/+question/403530

Revision history for this message
masuo (masuo-ohara) said :
#2
Revision history for this message
RaiMan (raimund-hocke) said :
#3

SikuliX uses Jython language level 2.7, which is not Python 3 compatible

Can you help with this problem?

Provide an answer of your own, or ask Paul Good for more information if necessary.

To post a message you must log in.