为啥这么报错= = ValueError: chr() arg not in range(256)
为啥这么报错= = ValueError: chr() arg not in range(256)
C:\Python27\python.exe E:/download/python/crawler.py
Traceback (most recent call last):
File "E:/download/python/crawler.py", line 26, in <module>
from pdfminer.converter import PDFPageAggregator
File "C:\Python27\lib\site-packages\pdfminer\converter.py", line 4, in <module>
from .pdfdevice import PDFTextDevice
File "C:\Python27\lib\site-packages\pdfminer\pdfdevice.py", line 2, in <module>
from .utils import mult_matrix, translate_matrix
File "C:\Python27\lib\site-packages\pdfminer\utils.py", line 212, in <module>
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff,
File "C:\Python27\lib\site-packages\pdfminer\utils.py", line 180, in <genexpr>
PDFDocEncoding = ''.join( chr(x) for x in (
ValueError: chr() arg not in range(256)