Ask Your Question
0

use Python cryptography package with Sage

asked 2022-11-20 11:24:35 +0100

dantetante gravatar image

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?

edit retag flag offensive close merge delete

Comments

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-23 08:31:11 +0100

vdelecroix gravatar image

cryptography and cyprtography are not quite the same

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-11-20 11:24:35 +0100

Seen: 41 times

Last updated: Nov 20