Hello @sachin gupta
Thanks for the question and using MS Q&A platform.
As per the repro from my end - I'm able to successfully install the
pycryptodome==3.16.0
using the requirement.txt file method.
Note: I had tested on Spark Runtime 3.1
version. In case, if you spark runtime is different please do let me know I can re-verfiy with the spark runtime version which you are using.
To verify if the correct versions of the correct libraries are installed from PyPI, run the following code:
import pkg_resources
for d in pkg_resources.working_set:
print(d)
Successfully installed & verfied the package installtion named:
pycryptodome==3.16.0
For more details, refer to Manage session-scoped packages.
Hope this helps. Do let us know if you any further queries.
Please don’t forget to Accept Answer
wherever the information provided helps you, this can be beneficial to other community members.