sebastinas / pyrelic

Python bindings for relic
MIT License
7 stars 1 forks source link

Problem while installing python-relic via pip #9

Closed Loryerba closed 6 months ago

Loryerba commented 6 months ago

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 ;)

Loryerba commented 6 months ago

@sebastinas

sebastinas commented 6 months ago

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.

Loryerba commented 6 months ago

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.

Loryerba commented 6 months ago

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.

sebastinas commented 6 months ago

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

Loryerba commented 6 months ago

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

Loryerba commented 6 months ago

@sebastinas

sebastinas commented 6 months ago

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

Loryerba commented 6 months ago

Solved by using WSL