python3.5安装paddlehub提示成功,import时失败
Created by: zhengya01
python3.5安装paddlehub提示成功,默认安装1.1.1版本,import时失败
[root@73b49b2ec016 sentiment_classification]# python Python 3.5.1 (default, Nov 24 2018, 08:56:52) [GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux Type "help", "copyright", "credits" or "license" for more information.
import paddlehub Traceback (most recent call last): File "", line 1, in File "/opt/_internal/cpython-3.5.1/lib/python3.5/site-packages/paddlehub/init.py", line 48, in from .finetune.task import ClassifierTask File "/opt/_internal/cpython-3.5.1/lib/python3.5/site-packages/paddlehub/finetune/task.py", line 29, in from visualdl import LogWriter File "/opt/_internal/cpython-3.5.1/lib/python3.5/site-packages/visualdl/init.py", line 20, in from .python.storage import * # noqa: F401,F403 File "/opt/_internal/cpython-3.5.1/lib/python3.5/site-packages/visualdl/python/storage.py", line 18, in from visualdl import core ImportError: /opt/_internal/cpython-3.5.1/lib/python3.5/site-packages/visualdl/core.so: undefined symbol: _PyThreadState_UncheckedGet