sebastinas/pyrelic

Problem while installing python-relic via pip

Closed this issue · 9 comments

I tried to install python-relic with this command "pip install python-relic" on VSCode with Python 3.12 and latest version of pip but
I encountered this error: "It's not possibile to open the inclusion file: 'relic/relic_core.h': No such file or directory",
"Could not build wheels for python-relic, which is required to install pyproject.toml-based projects".

What can I do?

Thanks a lot ;)

You need to build (according to your requirements) and install relic which you can get from https://github.com/relic-toolkit/relic. python-relic does not install that itself.

Thank you, but on the https://github.com/relic-toolkit/relic in the wiki session, they suggest to run CMake with this command:
cmake ../relic- but idk where download relic library to run this command.

Ok thank you, i've just found the latest release but I still have problem with build and install relic, i get
make: *** "No rule to make target ';'. Stop.

That's probably best discussed with @dfaranha or somebody else from the relic project.

Ok thank you, i solved it. Where i can find the doc about your pyrelic library?

Most of the functions and types have docstrings and there are some examples in the examples folder.

Solved by using WSL