Page 1 of 1

DLL LOAD FAILED WHILE IMPORTING _RUST PYTHON ERROR

Posted: Fri Sep 06, 2024 2:43 am
by admin
Hi,
While using python 3.8 i recently came across error in cryptography upgrade. It was showing "ImportError: DLL load failed while importing _rust"
there was no proper documentation available. Only you can upgrade to python 3.9.2 can solve as per few blogs.
This can be easily solved by two lines of code:

1.

Code: Select all

!pip uninstall -y cryptography
2.

Code: Select all

!pip install cryprography==41.0.7
Once cryptography downgraded everything will work fine.


Thanks & Regards
Admin