[Cryptography-dev] ModuleNotFoundError: No module named 'cryptography'

2020-11-21 Thread Shai Anany
Hi there I have already successfully installed cryptography on my computer but when trying to run the code: from cryptography.fernet import Fernet import base64 key = Fernet.generate_key() cipher = Fernet(key) message = "Message to be encrypted".encode('utf-8') token = cipher.encrypt(message)

Re: [Cryptography-dev] ModuleNotFoundError: No module named 'cryptography'

2020-11-21 Thread Shai Anany
... I'm using cryptography-3.2.1 [image: Mailtrack] Sender notified by Mailtrack 11/21/20, 01:23:19 PM O

Re: [Cryptography-dev] ModuleNotFoundError: No module named 'cryptography'

2020-11-21 Thread Shai Anany
I installed it incide pycharm and it fixed it. BR בתאריך שבת, 21 בנוב׳ 2020, 12:55, מאת Shai Anany ‏: > Hi there > > I have already successfully installed cryptography on my computer but when > trying to run the code: > > from cryptography.fernet import Fernet > import base64 > > key = Fernet.ge