import paddlehub报错ImportError: /lib64/libXext.so.6: undefined symbol: _XGetRequest
Created by: AltenLi
- 标题:请包含关键词“安装错误”/“编译错误”,例如“Mac编译错误”
- 版本、环境信息: 1)PaddlePaddle版本:1.7.2 gpu 2)CPU: 3)GPU:P4,CUDA 9 和CUDNN 7.3 4)系统环境:Python2.7.14和3.6.5
- 安装方式信息: 1)pip安装
- 复现信息: 安装了paddlepaddle和paddlehub后,import paddlehub报错 Traceback (most recent call last): File "run_ernie_sequence_labeling.py", line 35, in import creator File "/home/work/liqian11/entity_tagging/model/creator.py", line 31, in from models.representation.ernie import ernie_encoder, ernie_pyreader File "../shared_modules/models/representation/ernie.py", line 26, in import paddlehub as hub File "/home/work/.pyenv/versions/lq2/lib/python2.7/site-packages/paddlehub/init.py", line 25, in from . import module File "/home/work/.pyenv/versions/lq2/lib/python2.7/site-packages/paddlehub/module/init.py", line 16, in from . import module File "/home/work/.pyenv/versions/lq2/lib/python2.7/site-packages/paddlehub/module/module.py", line 31, in from paddlehub.common import utils File "/home/work/.pyenv/versions/lq2/lib/python2.7/site-packages/paddlehub/common/init.py", line 16, in from . import utils File "/home/work/.pyenv/versions/lq2/lib/python2.7/site-packages/paddlehub/common/utils.py", line 30, in import cv2 File "/home/work/.pyenv/versions/lq2/lib/python2.7/site-packages/cv2/init.py", line 3, in from .cv2 import * ImportError: /lib64/libXext.so.6: undefined symbol: _XGetRequest