Open soleo opened 5 years ago
Thanks for interest on MacOS. Currently its not supported/tested on MacOS, we should support at the earliest possible.
Is there anything I can help to make it possible? If I compile with macOS Informix SDK Developer Edition, what kind of issues would potentially occur?
Please give it a try, other than nuisance of Python itself, it should be smooth. If you face any problem do let me know.
I got same message "Could not find a version that satisfies the requirement ifxpy (from versions: )" I'm using Windows 10 64 bits, Python 3.5.4
@deokershesh any update at when MacOS support will be available?
I would also be interested in macOS support. I could compile it following the Linux compiling instructions but its nowhere as nice as pip install ...
.
Compiling went smooth but when using, I get the following error:
ImportError: dlopen(.../venv/lib/python3.7/site-packages/IfxPy-3.0.3-py3.7-macosx-10.14-x86_64.egg/IfxPy.cpython-37m-darwin.so, 2): Library not loaded: idmrs09a.dylib
Referenced from: .../venv/lib/python3.7/site-packages/IfxPy-3.0.3-py3.7-macosx-10.14-x86_64.egg/IfxPy.cpython-37m-darwin.so
Reason: image not found
I would be up for contributing to getting it to work on macOS if you tell me what is needed.
Not much experience with macOS, but that library that is complaining about (Library not loaded: idmrs09a.dylib) is the Informix driver manager replacement. It may not be as simple as that, but just in case, does the DYLD_LIBRARY_PATH env variable include the $INFORMIXDIR/lib/cli directory?
@jsagrera thanks for the fast reply. yes, that was the problem.
How much work would it be to add a macOS version to pip (PyPI)?
macOS support is something we have in the pipeline ;)
ok, thanks a lot for your work.
I was able to build it for OSX and install it, but now when I try to connect with the same connection string that work on linux, I get this error:
env/lib/python3.7/site-packages/IfxPyDbi.py", line 499, in connect raise _get_exception(inst) IfxPyDbi.Error: ifx_pydb::Error: Exception(' SQLCODE=-11060') 127.0.0.1 - - [17/Apr/2019 11:52:40] "GET /dmsoq HTTP/1.1" 500 -
Same code works on linux and window, any idea?
-11060 is way too generic. Can you try enabling tracing in the ODBC.INI. unixODBC should came with isql (even on MacOS). isql is a good tool to test that the Informix ODBC driver before jumping into the Python module.
@wanderlp did you solve this? I'm getting the same error with Python 3.7
Have you tried using the driver from isql/iusql to test the connection? There are lots of reasons why -11060 can be throwed, so we would need a little bit more info to help you out.
what's the status here? I'd need it ... desperately :)
Any update on this, as more than a year has passed?
Cannot install ifxpy package from macOS High Sierra