报错:ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory 解决: find / -name libpython3.6m.so.1.0 ...
背景 在linux部署执行python脚本的时候,要避免因为依赖带来的问题,同时不想暴露自己的代码程序,可以用pyinstaller将py文件打包成一个可执行的文件 操作 安装pyinstaller pip install pyinstaller 安装完成之后, 执行以下命令就会完成打包,在对应的目录下会生成一个dist目录,里面就是可执行的程序文件 pyinstaller F demo.py 遇 ...
2022-01-30 11:33 0 5276 推荐指数:
报错:ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory 解决: find / -name libpython3.6m.so.1.0 ...
该错误原因是libpython3.6m.so.1.0不存在 解决方案 1.查看/usr/lib/x86_64-linux-gnu/目录下是否存在libpython3.m.so.1.0文件,或者直接全盘搜索: 2.如果不存在则重新安装一下 ...
将python库的路径写到/etc/ld.so.conf配置中。执行以下命令。 ...
一:上篇文章卸载了python3.7.1重新安装其他版本,将python3/bin加入PATH的时候(vim /etc/profile)出现问题:error while loading shared libraries: libpython2.6.so.1.0: cannot open ...
当使用 virtualenv -p python3 env 安装虚拟环境时,报这个错误,经过反复检查,终于找到问题原因: 当前安装的python环境为3.8.8,但其实tmal支持的环境是python3.6,但在创建虚拟环境时使用的命令是 virtualenv -p python ...
python3.5安装报错 python3.5: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory ...
#vi /etc/ld.so.conf.d/python2.7.conf 加入/usr/local/python27/lib 保存退出后执行 #ldconfig ...
在linux下运行程序时,发现了error while loading shared libraries这种错误,一时间不知道解决办法,在网上搜索,终于解决了: ./tests: error while loading shared libraries: xxx.so.0:cannot open ...