You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: account_invoice_import_simple_pdf/readme/INSTALL.rst
+6-12
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Install it via pip:
18
18
19
19
.. code::
20
20
21
-
sudo pip3 install --upgrade pymupdf
21
+
pip3 install --upgrade pymupdf
22
22
23
23
Beware that *PyMuPDF* is not a pure-python library: it uses MuPDF, which is written in C language. If a python wheel for your OS, CPU architecture and Python version is available on pypi (check the `list of PyMuPDF wheels <https://pypi.org/project/PyMuPDF/#files>`_ on pypi), it will install smoothly. Otherwize, the installation via pip will require MuPDF and all its development libs to compile the binding.
24
24
@@ -35,7 +35,7 @@ and then install the lib via pip:
35
35
36
36
.. code::
37
37
38
-
sudo pip3 install --upgrade pdftotext
38
+
pip3 install --upgrade pdftotext
39
39
40
40
On OSes other than Debian/Ubuntu, follow the instructions on the `project page <https://github.com/jalan/pdftotext>`_.
41
41
@@ -55,7 +55,7 @@ To install the **pypdf** python lib, run:
55
55
56
56
.. code::
57
57
58
-
sudo pip3 install --upgrade pypdf
58
+
pip3 install --upgrade pypdf
59
59
60
60
61
61
Other requirements
@@ -70,17 +70,11 @@ The dateparser lib depends itself on regex. So you can install these Python libr
70
70
71
71
.. code::
72
72
73
-
sudo pip3 install --upgrade dateparser
73
+
pip3 install --upgrade dateparser
74
74
75
-
The dateparser lib is not compatible with all regex lib versions. As of September 2022, the `version requirement <https://github.com/scrapinghub/dateparser/blob/master/setup.py#L30>`_ declared by dateparser for regex is **!=2019.02.19, !=2021.8.27, <2022.3.15**. So the latest version of regex which is compatible with dateparser is **2022.3.2**. To know the version of regex installed in your environment, run:
75
+
The dateparser lib is not compatible with all regex lib versions. As of February 2024, the `version requirement <https://github.com/scrapinghub/dateparser/blob/master/setup.py#L36>`_ declared by dateparser for regex is **!=2019.02.19, !=2021.8.27**. So the latest version of dateparser is currenly compatible with the latest version of regex. To know the version of regex installed in your environment, run:
0 commit comments