paddle和paddle_serving_client一起导入报错
Created by: wang-kangkang
先导入paddle,再导入client: import paddle from paddle_serving_client import Client 报错信息:
Traceback (most recent call last):
File "*****.py", line 6, in <module>
from paddle_serving_client import Client
File "/home/ssd6/*****/anaconda3/lib/python3.6/site-packages/paddle_serving_client/__init__.py", line 24, in <module>
from .serving_client import PredictorRes
ImportError: /home/ssd6/*****/anaconda3/lib/python3.6/site-packages/paddle_serving_client/lib/libssl.so.10: symbol private_ossl_minimum_dh_bits, version libcrypto.so.10 not defined in file libcrypto.so.10 with link time reference
先导入client,再导入paddle和fluid from paddle_serving_client import Client import paddle import paddle.fluid as fluid 报错信息:
Traceback (most recent call last):
File "******.py", line 6, in <module>
import paddle.fluid as fluid
File "/home/ssd6/*****/anaconda3/lib/python3.6/site-packages/paddle/fluid/__init__.py", line 35, in <module>
from . import framework
File "/home/ssd6/*****/anaconda3/lib/python3.6/site-packages/paddle/fluid/framework.py", line 35, in <module>
from . import core
File "/home/ssd6/*****/anaconda3/lib/python3.6/site-packages/paddle/fluid/core.py", line 194, in <module>
raise e
File "/home/ssd6/*****/anaconda3/lib/python3.6/site-packages/paddle/fluid/core.py", line 167, in <module>
from .core_avx import *
ImportError: dlopen: cannot load any more object with static TLS
单独跑paddle和client都是可以的。环境是cuda9 cudnn7.3。 目前我这里升级glibc不熟练。。。一不小心机器容易挂。有没有其他安全点的方法