FastDeploy icon indicating copy to clipboard operation
FastDeploy copied to clipboard

加密失败 AttributeError: module 'fastdeploy.c_lib_wrap' has no attribute 'encryption'

Open zoe531 opened this issue 1 year ago • 1 comments



环境

fastdeploy-python-1.0.7

model_buffer = open(model_file, 'rb') params_buffer = open(params_file, 'rb') fd.encryption.encrypt(model_buffer.read(),)

zoe531 avatar Aug 20 '23 06:08 zoe531

可能是装的fd默认没有打开这个编译选项 https://github.com/PaddlePaddle/FastDeploy/blob/develop/CMakeLists.txt#L75C1-L75C7

rainyfly avatar Feb 06 '24 09:02 rainyfly