PaddlePaddle / PaddleFL

Federated Deep Learning in PaddlePaddle
Apache License 2.0
499 stars 121 forks source link

报错 Can not find library: libpaddle_enc.so #256

Open ur2001 opened 2 years ago

ur2001 commented 2 years ago

安装paddlefl-1.2.0后出现以下报错,但是1.1.2版本没有问题,是安装的paddlepaddle版本不对的问题吗?

W0321 17:36:40.948619 17754 dynamic_loader.cc:120] Can not find library: /home/zyj/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle_fl/mpc/libs/libpaddle_enc.so. The process maybe hang. Please try to add the lib path to LD_LIBRARY_PATH. Traceback (most recent call last): File "fl_trainer.py", line 1, in from paddle_fl.paddle_fl.core.trainer.fl_trainer import FLTrainerFactory File "/home/zyj/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle_fl/init.py", line 15, in from . import mpc File "/home/zyj/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle_fl/mpc/init.py", line 59, in fluid.load_op_library(_paddle_enc_lib) File "/home/zyj/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/fluid/framework.py", line 5162, in load_op_library core.load_op_library(lib_filename) paddle.fluid.core_avx.EnforceNotMet: