title: Getting "ImportError: libXrender.so.1: cannot open shared object file" when importing OpenCV
body: <p>I'm having trouble importing OpenCV.</p>
  
  <p>Environment:  </p>
  
  <ul>
  <li>Python 3.6.1 </li>
  <li>Linux (HPC server)</li>
  <li>OpenCV 3.4.3.18</li>
  </ul>
  
  <p>Error Description: </p>
  
  <p>I'm trying to import <code>cv2</code> after a successful installation (<code>Requirement already satisfied: opencv-python in /home/users/czxu/.local/lib/python3.6/site-packages (3.4.3.18)</code>) with command: <code>import cv2</code>, but it seems that a folder or script is missing:</p>
  
  <pre><code>Traceback (most recent call last):
    File "scripts/preprocessing/gen_mini_batches.py", line 4, in &lt;module&gt;
      from avod.builders.dataset_builder import DatasetBuilder
    File "/home/users/czxu/avod/avod/builders/dataset_builder.py", line 6, in &lt;module&gt;
      from avod.datasets.kitti.kitti_dataset import KittiDataset
    File "/home/users/czxu/avod/avod/datasets/kitti/kitti_dataset.py", line 11, in &lt;module&gt;
      from wavedata.wavedata.tools.core import calib_utils
    File "/home/users/czxu/avod/wavedata/wavedata/tools/core/calib_utils.py", line 3, in &lt;module&gt;
      import cv2
    File "/home/users/czxu/.local/lib/python3.6/site-packages/cv2/__init__.py", line 3, in &lt;module&gt;
      from .cv2 import *
  ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
  srun: error: sh-06-20: task 0: Exited with exit code 1
  </code></pre>
  
  <p>I went to the folder <code>/home/users/czxu/.local/lib/python3.6/site-packages/cv2/</code></p>
  
  <pre><code>czxu@cv2$cd /home/users/czxu/.local/lib/python3.6/site-packages/cv2
  czxu@cv2$ls -a
  .  ..  cv2.cpython-36m-x86_64-linux-gnu.so  data  __init__.py  .libs  LICENSE-3RD-PARTY.txt  LICENSE.txt  __pycache__
  </code></pre>
  
  <p>Do you have any idea about this? Answers and discussions will be sincerely appreciated. </p>