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
When I use the latest pdfplumber verison 0.11.3. to run my program,the bug happen。
Traceback (most recent call last):
File "run.py", line 5, in
from pdf import pdf2mats
File "C:\Users\sinow\Desktop\dsimgocr\dsimgocr\src\pdf.py", line 1, in
import pdfplumber
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber_init_.py", line 15, in
from .pdf import PDF
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber\pdf.py", line 17, in
from .page import Page
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber\page.py", line 35, in
from .table import T_table_settings, Table, TableFinder, TableSettings
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber\table.py", line 377, in
class Table(object):
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber\table.py", line 392, in Table
def _get_rows_or_cols(self, kind: type[CellGroup]) -> List[CellGroup]:
TypeError: 'type' object is not subscriptable
But when i use the version 0.11.2,the program can run nomal.
The text was updated successfully, but these errors were encountered:
Thanks for flagging @Akiramex and for identifying the issue @andrekeller. Now fixed in v0.11.4.
After October 2024, I plan to end pdfplumber's support of Python 3.8, following the official EOL schedule, but happy to make this quickfix in the meantime.
When I use the latest pdfplumber verison 0.11.3. to run my program,the bug happen。
Traceback (most recent call last):
File "run.py", line 5, in
from pdf import pdf2mats
File "C:\Users\sinow\Desktop\dsimgocr\dsimgocr\src\pdf.py", line 1, in
import pdfplumber
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber_init_.py", line 15, in
from .pdf import PDF
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber\pdf.py", line 17, in
from .page import Page
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber\page.py", line 35, in
from .table import T_table_settings, Table, TableFinder, TableSettings
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber\table.py", line 377, in
class Table(object):
File "C:\env\anaconda3\envs\imgocr\lib\site-packages\pdfplumber\table.py", line 392, in Table
def _get_rows_or_cols(self, kind: type[CellGroup]) -> List[CellGroup]:
TypeError: 'type' object is not subscriptable
But when i use the version 0.11.2,the program can run nomal.
The text was updated successfully, but these errors were encountered: