OSError: decoder libtiff not available on xavier

I try to use my mask r-cnn code on xavier.I am using pillow python library on my code.

img = Image.open(img_path).convert("RGB")

I try to read some tiff image on PIL RGB image format .But i don’t know why i got this error:

File "/home/nvidia/.local/lib/python3.6/site-packages/PIL/Image.py", line 904, in convert
    self.load()
  File "/home/nvidia/.local/lib/python3.6/site-packages/PIL/TiffImagePlugin.py", line 1088, in load
    return self._load_libtiff()
  File "/home/nvidia/.local/lib/python3.6/site-packages/PIL/TiffImagePlugin.py", line 1147, in _load_libtiff
    self.mode, "libtiff", tuple(args), self.decoderconfig
  File "/home/nvidia/.local/lib/python3.6/site-packages/PIL/Image.py", line 438, in _getdecoder
    raise OSError(f"decoder {decoder_name} not available") from e
OSError: decoder libtiff not available

Thanks in advance

i did upgrade the pip with this code : python3 -m pip install --upgrade pip
and then re installed the pillow with this code python3 -m pip install --upgrade Pillow

It solved my problem.