Latest versions of pdfminer are no longer compatible with Python 2.7, which results in the install of pattern failing as well because pdfminer expects Python 3.6 or higher, but does not check for this.
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-6LDKdm/pdfminer/setup.py", line 71, in
'Topic :: Text Processing',
File "pattern-test/.env/local/lib/python2.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-6LDKdm/pdfminer/setup.py", line 11, in run
from pdfminer.cmapdb import convert_cmap
File "/tmp/pip-install-6LDKdm/pdfminer/pdfminer/cmapdb.py", line 22, in
from .psparser import PSStackParser
File "/tmp/pip-install-6LDKdm/pdfminer/pdfminer/psparser.py", line 4, in
from .utils import choplist
File "/tmp/pip-install-6LDKdm/pdfminer/pdfminer/utils.py", line 219, in
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff,
File "/tmp/pip-install-6LDKdm/pdfminer/pdfminer/utils.py", line 187, in
PDFDocEncoding = ''.join(chr(x) for x in (
ValueError: chr() arg not in range(256)
Can be solved by installing pdfminer==20140328 first.
Latest versions of pdfminer are no longer compatible with Python 2.7, which results in the install of pattern failing as well because pdfminer expects Python 3.6 or higher, but does not check for this.
Can be solved by installing pdfminer==20140328 first.