Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?

click to hide/show revision 2
retagged

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?