Closed acycliq closed 4 years ago
This is interesting! On macOS and Linux, the 32-bit integers worked fine, but it was the 64-bit ones that don't work. Turns out that Python uses the "long" C type when it has a chance, on Windows "long" is a 32-bit integer, on macOS and Linux it's a 64-bit integer. So now I've added support to receive "long" integer matrices from Python. I'm watching the tests run on Travis, if they succeed I'll build a new release.
@acycliq ~Travis is building a new release. You can check progress here: https://travis-ci.org/github/DIPlib/diplib/builds/736767681~ The Windows binaries are released to PyPI.
When it's complete, you should be able to upgrade your DIPlib installation with
pip install diplib --upgrade
Thanks so much Cris, it works fine!
Component PyDIP: 3.0b6
Describe the bug Am I doing something wrong here please. I have installed diplib only with the pip command
pip install diplib
and I am getting this error when I run the code below To ReproduceIt looks to work fine with
uint8, uint16, uint64
System information: I am on Windows 10, Python 3.7, numpy 1.18.5 I do not know if it is relevant but when I am importing
diplip
I am getting the message:PyDIPjavaio unavailable: DLL load failed: The specified module could not be found. (libjvm not found)