gtfierro / reasonable

OWL 2 Reasoner built on DataFrog
BSD 3-Clause "New" or "Revised" License
67 stars 4 forks source link

Current pip release is broken #17

Open Eugenio2192 opened 1 year ago

Eugenio2192 commented 1 year ago

Hello @gtfierro

Just wanted to give you a heads up that the current release (0.1.65) in pip is not working. I get an error telling me that I am missing the cffi library and when I install it, it says that PyReasoner can't be imported.

Already tried both in linux and in windows

gtfierro commented 1 year ago

Ack, thought I fixed this! Sorry this is broken. I will take a look as soon as I can

gtfierro commented 1 year ago

Hi @Eugenio2192 can you try reasonable==0.2.0? I think I may have finally fixed this

Eugenio2192 commented 1 year ago

Got a different problem now. In windows the package is being installed with no binaries (fails when callingimport reasonable telling you reasonable.reasonable does not exist. If you look at the installed packages it has an empty folder with an init file. In Linux pip tries to build from source and fails because of oxrocksdb-sys not being properly installed, i think the root problem might be in oxigraph but what do I know.

have you considered using abi3 instead of cffi? I think it works better in windows.

Edit: The problem with oxrocksdb-sys was that I did not have clang in my new system. So probably unrelated. Linux seems to be working now (not using binaries but installing from source) Edit 2: Linux is also not working, same issue: ModuleNotFoundError: No module named 'reasonable.reasonable'

gtfierro commented 1 year ago

Thanks for trying it out and being patient with me as I try and fix this issue

Can you be more specific about your linux setup? Are you on aarch64 by any chance? I was able to get it working fine on an x86_64 machine

I'm trying as much as possible to copy the pyoxigraph setup. Can you check if https://pypi.org/project/pyoxigraph/ installs ok for you?

gtfierro commented 1 year ago

Just wanted to update everyone -- I am still working on this! Busy with the end of the semester approaching but I'm slowly playing whack-a-mole with Github Actions to try and figure out how to get this to properly build again

gtfierro commented 1 year ago

@Eugenio2192 can you try pip install reasonable==0.2.2a3? I think I finally got it working

Eugenio2192 commented 1 year ago

@Eugenio2192 can you try pip install reasonable==0.2.2a3? I think I finally got it working

Installation and importing the package objects seems to be working properly.