python3安装后运行出错:error while loading shared libraries: libpython3.6m.so.1.0,,安装好python3
python3安装后运行出错:error while loading shared libraries: libpython3.6m.so.1.0,,安装好python3
安装好python3后,运行出现下面错误:
python3: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
解决方案:设置环境变量:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/python3/bin
注:其中/usr/local/python3/为python3安装的目录
python3安装后运行出错:error while loading shared libraries: libpython3.6m.so.1.0
评论关闭