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

将python库的路径写到/etc/ld.so.conf配置中。执行以下命令。

1 cd /etc/ld.so.conf.d
2 vim python3.conf
3 #添加python库路径,因为我们开始把python的编译后的路径设置在/usr/python,所以python库的路径为/usr/python/lib
4 #按i输入,输入成功后按Esc建,输入:wq保存退出
5 /usr/python/lib
最后之关键一步:
》》》ldconfig

posted @ 2021-02-05 10:35  renzz  Views(3503)  Comments(0)    收藏  举报
/*鼠标跟随效果*/