python3安装后运行出错:error while loading shared libraries: libpython3.6m.so.1.0

安装好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安装的目录

原文地址:https://www.cnblogs.com/zhangtingzu/p/8977428.html

时间: 2024-11-08 21:33:26

python3安装后运行出错:error while loading shared libraries: libpython3.6m.so.1.0的相关文章

python3: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory

安装python3遇到报错: wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz ./configure --prefix=/usr/local/Python-3.5.2 --enable-shared make make install ln -s /usr/local/Python-3.5.2/bin/python3 /usr/bin/python3 遇到报错: 解决: 查看动态库情况 ldd /usr/local/Py

Nginx 启动出错 error while loading shared libraries: libpcre.so.1

在 centos 6.5  64位上编译安装nginx1.63语法检查出错[root @localhost conf]# /usr/local/nginx/sbin/nginx -t /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 从错误看出是缺少lib文件导致,进一步

Nginx启动出错 error while loading shared libraries

[[email protected] ~]#  /usr.local/nginx/sbin/nginx -c conf/nginx.conf sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 从错误看出是缺少libpcre.so.1文件导致 [[email protected] nginx]# ldd $

cygwin运行git submodule init出错error while loading shared libraries的解决

installing the Devel\gettext package should solve your problem. git-submodule requires that. Unfortunately this is not marked as dependency. 附apt-cyg工具:https://code.google.com/p/apt-cyg/

安装lispbox出现:error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

如下图,运行lispbox出现如下报错(第一个命令): 检索之后发现解决办法:Solution to libjpeg.so.62 输入一下两条命令(第二条也必须执行): sudo apt-get upgrade sudo apt-get install libjpeg62-dev // if not 62-dev, the apt will tell you it can not locate the package libjpeg62 解决问题: 蛤蛤蛤!抓紧学习Linux,避免遇到苦难束手无

安装文件报错error while loading shared libraries: libssl.so.6

http://www.openssl.org/source/  这里下载http://www.openssl.org/source/openssl-1.0.0r.tar.gz 安装命令为:tar -zxvf opensslopenssl-1.0.0r.tar.gzcd openssl-1.0.0r./configmake install 做链接for 32bit  ln-sf /usr/lib/libssl.so.10 /usr/lib/libssl.so.6 ln-sf /usr/lib/li

运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory

运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------

安装二进制软件包的mysql出现 error while loading shared libraries: libaio.so.1:

在安装二进制mysql的软件包时(版本mysql-5.5.44),初始化中出现 error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory的错误: [[email protected] mysql]# scripts/mysql_install_db --datadir=/data/mydata --user=mysqlInstalling

centos6.9安装xampp后报错:egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

1.centos6.9安装xampp(xampp-linux-x64-7.0.21-0-installer.run)后启动的时候,报错: egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directoryegrep: error while loading shared libraries: libc.so.6: cannot open