You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just installed petlib and now trying to create a new EcGroup instance the following exception occurs.
Any recommendations to make it work?
Python 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import petlib
>>> from petlib.ec import EcGroup
Support not loading the library to build docs without compiling.
>>> G = EcGroup()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/sebastian/Developer/.envs/pet/lib/python2.7/site-packages/petlib/ec.py", line 62, in __init__
self.ecg = _C.EC_GROUP_new_by_curve_name(nid)
AttributeError: 'NoneType' object has no attribute 'EC_GROUP_new_by_curve_name'
The text was updated successfully, but these errors were encountered:
Hello -- given the error I suspect that the C library binding petlib to openssl did not build correctly. To be honest OSX is not a platform I have tested the build against. However, my students do use petlib with OSX homebrew so I will ask them to write a proper installation recipe.
He,
just installed petlib and now trying to create a new EcGroup instance the following exception occurs.
Any recommendations to make it work?
The text was updated successfully, but these errors were encountered: