module 'cryptography.utils' has no attribute 'register_interface'

Ryder Middleton 50 Reputation points
2023-10-17T00:35:57.11+00:00

I'm executing a python script from an ADF pipeline. I'm testing it by running it in Azure portal. The error message is module 'cryptography.utils' has no attribute 'register_interface'. I tried uninstalling and reinstalling PGPy but it's the same error.

pip uninstall PGPy

pip install cryptography==37.0.4

pip install PGPy

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,625 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.