在终端输入: echo LD_LIBRARY_PATH, 并将其内容 添加至Pycharm的 run -> Edit configuration -> Environment variables中, 如图:
echo LD_LIBRARY_PATH
run -> Edit configuration -> Environment variables
即可.