Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current pip release is broken #17

Open
Eugenio2192 opened this issue Aug 31, 2022 · 7 comments
Open

Current pip release is broken #17

Eugenio2192 opened this issue Aug 31, 2022 · 7 comments

Comments

@Eugenio2192
Copy link

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
Copy link
Owner

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

@gtfierro
Copy link
Owner

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

@Eugenio2192
Copy link
Author

Eugenio2192 commented Nov 1, 2022

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
Copy link
Owner

gtfierro commented Nov 2, 2022

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
Copy link
Owner

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
Copy link
Owner

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

@Eugenio2192
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants