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

前端 未结 7 1442
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:46

    Adding to the Correct answer:

    Multiple question on how to the following : Then paste line /opt/rh/python27/root/usr/lib64 to file /etc/ld.so.conf

    The correct way to do this add a new file in /etc/ld.so.conf.d/, and add the line above in that file.

提交回复
热议问题