From 7436a1cf625e8e7e99c80e8af7c301eb31da4e62 Mon Sep 17 00:00:00 2001 From: Karlmichael Date: Sat, 30 Jul 2022 19:15:42 +0000 Subject: [PATCH] updated install-deps doc --- docs/user/install-deps.rst | 19 +++++++++++++++++++ docs/user/install.rst | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/user/install-deps.rst b/docs/user/install-deps.rst index f4ab87d9..cbe28d39 100755 --- a/docs/user/install-deps.rst +++ b/docs/user/install-deps.rst @@ -25,6 +25,25 @@ Windows For Ghostscript, you can get the installer at their `downloads page `_. And for Tkinter, you can download the `ActiveTcl Community Edition `_ from ActiveState. + +With [cv] option +^^^^^^^^^^^^^^^^ + +For installing with +:: + $ pip install "camelot-py[cv]" + +you will have add libGL to the dependencies + +:: + + $ apt install ghostscript python3-tk libgl1 + +This will fix the error that ``cv2 could not be imported``. + + + + Checks to see if dependencies are installed correctly ----------------------------------------------------- diff --git a/docs/user/install.rst b/docs/user/install.rst index 20208ce6..67f6a67d 100644 --- a/docs/user/install.rst +++ b/docs/user/install.rst @@ -14,7 +14,7 @@ pip To install Camelot from PyPI using ``pip``, please include the extra ``cv`` requirement as shown:: - $ pip install "camelot-py[base]" + $ pip install "camelot-py[cv]" conda -----