I am encountering an exception when attempting to retrieve the signature of the hashlib.md5 function:
inspect.signature(hashlib.md5)
ValueError: 'usedforsecurity=?' is not a valid parameter name
on Python 3.10.8. What could be the reason and how can I avoid this?
This could be traced back to the installation of the conda gcc package. The underlying reason remains unknown. Full reproducible example:
In my particular case, gcc was installed due to this answer solving the common
'GLIBCXX_3.4.30' not founderror.I am now avoiding installing gcc by using this alternative approach.