Do
It's highly unlike that one version number of Beautifulsoup will break anything in this package,
as BS it's not even in required packed for pdfminer.six.
Here a quick tutorial on using
This solve all dependency conflicts as none what you installed before is been looked at or used,it's now all new.
not
change anything,try if works as it probably dos now.It's highly unlike that one version number of Beautifulsoup will break anything in this package,
as BS it's not even in required packed for pdfminer.six.
Here a quick tutorial on using
virtual environment
,it's build into Python an just take a minute to do.This solve all dependency conflicts as none what you installed before is been looked at or used,it's now all new.
tom@tom-VirtualBox:~$ python -V Python 3.9.1 # Make tom@tom-VirtualBox:~$ python -m venv pdf_env # Cd in tom@tom-VirtualBox:~$ cd pdf_env/ # Activate tom@tom-VirtualBox:~/pdf_env$ source bin/activate # Install (pdf_env) tom@tom-VirtualBox:~/pdf_env$ pip install pdfminer.six Collecting pdfminer.six ..... Successfully installed cffi-1.14.4 chardet-4.0.0 cryptography-3.3.1 pdfminer.six-20201018 pycparser-2.20 six-1.15.0 sortedcontainers-2.3.0Test that it work.
(pdf_env) tom@tom-VirtualBox:~/pdf_env$ python Python 3.9.1 (default, Jan 25 2021, 15:34:59) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from pdfminer import high_level >>> >>> high_level.extract_text <function extract_text at 0x7fe2273cc310> >>> help(high_level.extract_text) .....When do
pip list
only packages in this environment is shown as it's isolated from what's install on OS level.(pdf_env) tom@tom-VirtualBox:~/pdf_env$ pip list Package Version ---------------- -------- cffi 1.14.4 chardet 4.0.0 cryptography 3.3.1 pdfminer.six 20201018 pip 21.0 pycparser 2.20 setuptools 49.2.1 six 1.15.0 sortedcontainers 2.3.0