libpython2.7.so.1.0: cannot open shared object file: No such file or directory

前端 未结 7 1421
Happy的楠姐
Happy的楠姐 2020-12-06 04:25

I have trying to run python script from the terminal but getting the next error message :

ImportError: libpython2.7.so.1.0: cannot open shared object file: N         


        
7条回答
  •  抹茶落季
    2020-12-06 04:58

    Perhaps you could try the answer at https://stackoverflow.com/a/1100297/3559967. The author of that question also stated that the LD_LIBRARY_PATH approach did not work for him, but adding the library path to /etc/ld.so.conf and running ldconfig worked.

提交回复
热议问题