AttributeError: 'int' object has no attribute 'PublicKey'
Код
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import rsa
import random
import binascii
import rsa.randnum
from cryptography.fernet import Fernet
#from Crypto.PublicKey import RSA
Crypto = 0
Crypto.PublicKey.RSA.generate()
print(Crypto)
Ошибка
AttributeError: 'int' object has no attribute 'PublicKey'
Бyдy благодарен ответy