When I touched numpy with Jupyter and did import matplotlib.pyplot as plt
ImportError: libXext.so.6: cannot open shared object file: No such file or directory
And
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
And
libXrender.so.1: cannot open shared object file: No such file or directory
How to deal with when it comes out
yum install libXext.x86_64
yum install libSM.x86_64
yum install libXrender.x86_64
If an import error occurs, use `yum search <library name>`
on the Linux side to list the libraries and install the appropriate one.
For example
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
At that time
yum search libSM
Select the one to be installed depending on the environment from the list and do `yum install`
.
I just dealt with the fact that the error is displayed ...
Recommended Posts