use Python cryptography package with Sage
I am wondering if I can import the cryptography package from here https://cryptography.io/en/latest/installation/ into a sage session.
I installed it via %pip install cryptography and it actually did install something (there were no error messages). I restarted, but when calling import cryptography
I get the error No module named 'cyprtography'
.
So my question is: WHY?
Is there some conflict between different Python/pip versions (I'm on a Mac Monterey 12.6, M1)? Do I need to set a path? Some time ago on another mac I had anaconda, but not at the moment on my main machine. Should I use it again?
Or should I use this packages only in Python and not in Sagemath?
Please see the following questions:
https://ask.sagemath.org/question/35457/importing-python-packages-into-sage-or-vice-versa/https://ask.sagemath.org/question/52321/installing-packages-using-pip-for-sage-installed-via-apt/https://ask.sagemath.org/question/8927/how-do-i-install-python-modules-or-use-a-different-version-of-python-with-sage/