meilof / pysnark

Library for programming zk-SNARKs directly in Python
https://meilof.github.io/pysnark/
Other
173 stars 29 forks source link

Error loading backend pysnark.libsnark #37

Open SUEOK12 opened 2 years ago

SUEOK12 commented 2 years ago

Hello!

I installed using pip3 install git+https://github.com/meilof/pysnark and executed python cube.py 3

After that "Error loading backend pysnark.libsnark.." newnew

It was executed on Windows 10.

Thanks in advance

meilof commented 2 years ago

Did you try to do "pip install python-libsnark" to install the required library?

Op do 7 jul. 2022 17:07 schreef SUEOK12 @.***>:

Hello!

I installed using pip3 install git+https://github.com/meilof/pysnark and executed python cube.py 3

After that "Error loading backend pysnark.libsnark.." [image: newnew] https://user-images.githubusercontent.com/10240255/177807324-0943bc5f-017b-4e3a-a303-5a41cd908edc.PNG

It was executed on Windows 10.

Thanks in advance

— Reply to this email directly, view it on GitHub https://github.com/meilof/pysnark/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAJUUZJNVA4ZW645LNNAL3VS3XBXANCNFSM525YPCOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SUEOK12 commented 2 years ago

Yes I tried but it also threw errors like this newnew1

Thank you

meilof commented 2 years ago

Ah that's strange. Does it work to directly install the python-libsnark egg from https://pypi.org/project/python-libsnark/#files?

Op do 7 jul. 2022 17:54 schreef SUEOK12 @.***>:

Yes I tried but it also threw errors like this [image: newnew1] https://user-images.githubusercontent.com/10240255/177817374-bfe2a6f8-64d5-45ec-a2f6-db36a4741bf9.PNG

Thank you

— Reply to this email directly, view it on GitHub https://github.com/meilof/pysnark/issues/37#issuecomment-1177836522, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAJUU3Y6BQTRSE37NWH463VS34RVANCNFSM525YPCOA . You are receiving this because you commented.Message ID: @.***>

SUEOK12 commented 2 years ago

You mean installing using python setup.py from python-libsnark egg file? It also threw error. cl : Command line error D8021 : invalid numeric argument '/Wno-sign-compare'

Thanks!

meilof commented 2 years ago

I mean https://superuser.com/posts/1660255/timeline

python -m easy_install .egg

Op do 7 jul. 2022 21:10 schreef SUEOK12 @.***>:

You mean installing using python setup.py from python-libsnark egg file? It also threw error. cl : Command line error D8021 : invalid numeric argument '/Wno-sign-compare'

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/meilof/pysnark/issues/37#issuecomment-1178098346, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAJUU6CNVYCG4GJ2W65IMTVS4TRZANCNFSM525YPCOA . You are receiving this because you commented. Message ID: @.***>

SUEOK12 commented 2 years ago

I tried the easy_install but it also threw "No module named easy_install". (on windows)

So, I tried my mac but it also showed same errors. (pip3 install python-libsnark)

Screen Shot 2022-07-07 at 10 31 47 PM

Tried easy_install but it also threw "No module named easy_install".

I upgraded pip, and setuptools as indicated on the google but I still don't know why...

Thanks!

meilof commented 2 years ago

Ok, strange. I would need to delve into this further. Perhaps better to use another backend for now? See examples in main README.md. And if you figure it out after all, please let me know!

Op vr 8 jul. 2022 om 04:33 schreef SUEOK12 @.***>

I tried the easy_install but it also threw "No module named easy_install". (on windows)

So, I tried my mac but it also showed same errors. (pip3 install python-libsnark) [image: Screen Shot 2022-07-07 at 10 31 47 PM] https://user-images.githubusercontent.com/10240255/177905099-d88425b0-e301-463f-a0ce-24cf5a30a97a.png

Tried easy_install but it also threw "No module named easy_install".

I upgraded pip, and setuptools as indicated on the google but I still don't know why...

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/meilof/pysnark/issues/37#issuecomment-1178473397, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAJUU2ZDDRD6L6I34URZ3LVS6HRHANCNFSM525YPCOA . You are receiving this because you commented.Message ID: @.***>

--

Meilof -- @.***