Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix error while loading shared libraries: "libpython3.6m.so.1.0: cannot open shared object file: No such file or directory"?

I have an error after upgrade Fedora 30 version. I try to run my Django project, but I got an error like

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

How can I fix it?

like image 371
sitharthan Avatar asked Oct 28 '25 01:10

sitharthan


1 Answers

Copy the library file libpython3.6m.so.1.0 to your /usr/lib/. If you have downloaded Python3.6.x and installed it manually you will find the file libpython3.6m.so.1.0 in the folder where you've extracted Python3.6.x or in /usr/local/lib/. That worked for me under Debian 8.

like image 165
i.mohamed Avatar answered Oct 31 '25 00:10

i.mohamed