Python3 如何安装 botan 模块?
In Python3 how can I install botan module?
我试过这个代码来加密一个文件:
from cryptoshop import encryptfile
from cryptoshop import decryptfile
result1 = encryptfile(filename="test", passphrase="mypassphrase",algo="srp")
print(result1)
但是我得到了这个错误:
No module named botan
如何安装botan模块?
我的 OS : WINDOWS
我的 PYTHON 版本:3.6.3
请一步步写出来
PS:我在 cryptoshop 模块中找到了这个:
try:
import botan
except:
print("Please install the last version of Botan crypto library.")
print("http://botan.randombit.net/#download")
print("For Linux users, try to find it in your package manager.")
sys.exit(0)
我下载了但是怎么安装呢?
如果您已经下载了 botan 模块,一个简单的解决方案是解压缩文件(如果已压缩)并将其放在与 cryptoshop 模块所在的文件夹相同的文件夹中。这应该允许 cryptoshop 使用 botan。
我试过这个代码来加密一个文件:
from cryptoshop import encryptfile
from cryptoshop import decryptfile
result1 = encryptfile(filename="test", passphrase="mypassphrase",algo="srp")
print(result1)
但是我得到了这个错误:
No module named botan
如何安装botan模块?
我的 OS : WINDOWS
我的 PYTHON 版本:3.6.3
请一步步写出来
PS:我在 cryptoshop 模块中找到了这个:
try:
import botan
except:
print("Please install the last version of Botan crypto library.")
print("http://botan.randombit.net/#download")
print("For Linux users, try to find it in your package manager.")
sys.exit(0)
我下载了但是怎么安装呢?
如果您已经下载了 botan 模块,一个简单的解决方案是解压缩文件(如果已压缩)并将其放在与 cryptoshop 模块所在的文件夹相同的文件夹中。这应该允许 cryptoshop 使用 botan。