Ask Your Question

use Python cryptography package with Sage

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

dantetante gravatar image

updated 2023-01-19 17:01:56 +0200

FrédéricC gravatar image

I am wondering if I can import the cryptography package from here 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


1 Answer

Sort by » oldest newest most voted

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

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


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

Seen: 343 times

Last updated: Nov 20 '22