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
I'm having a spot of trouble with using the ADDomain function within the ms-active-directory library.
Running the command to import this raises the following error:
"FFIError: multiple declarations of function ghash_portable (for interactive usage, try cdef(xx, override=True))"
I'm running Jupyter Notebooks at work, which uses a SonaType repository to manage libraries.
This error was thrown after changing the directory in Command Prompt to the location of the pip file that connects up SonaType (a different error was raised before that).
I wasn't able to get the syntax right for the override and I couldn't find details of how to overcome the error online.
Thank you for your consideration,
Julian.
The text was updated successfully, but these errors were encountered:
hi @KriosofWar ! sorry I was out for holidays/a volunteering trip.
I'm not quite sure what this is. from some googling it sounds like FFIError might be related to some packaging system that's in use? it's for interacting with C functions
the C functions that get used in this library are
ssl related things (probably not the conflict)
kerberos related things via ldap3 (very system-dependent)
some cryptography functions in pycryptodome (maybe related?)
I'm honestly not familiar at all with SonaType.
are you able to share what else is being installed here? and also your OS/environment? ldap3 can use gssapi or winkerberos depending on if you're using unix or windows. pycryptodome might also be the source of the problem if there's a package pinning issue, with multiple libraries pinning different version
I loosely pinned pycryptodome at >=3.9.0 so maybe check if something else is pinning lower?
Good morning,
I'm having a spot of trouble with using the ADDomain function within the ms-active-directory library.
Running the command to import this raises the following error:
"FFIError: multiple declarations of function ghash_portable (for interactive usage, try cdef(xx, override=True))"
I'm running Jupyter Notebooks at work, which uses a SonaType repository to manage libraries.
This error was thrown after changing the directory in Command Prompt to the location of the pip file that connects up SonaType (a different error was raised before that).
I wasn't able to get the syntax right for the override and I couldn't find details of how to overcome the error online.
Thank you for your consideration,
Julian.
The text was updated successfully, but these errors were encountered: