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
Traceback (most recent call last):
File "C:\Users\DELL\PycharmProjects\DocScanner1\main.py", line 1, in
import twain
File "C:\Users\DELL\PycharmProjects\DocScanner1\venv\lib\site-packages\twain_init_.py", line 12, in
from .lowlevel.structs import *
File "C:\Users\DELL\PycharmProjects\DocScanner1\venv\lib\site-packages\twain\lowlevel\structs.py", line 174, in
def frame2tuple(frame: TW_FRAME) -> tuple[float, float, float, float]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered:
Preivously, I had python 3.8 installed but still same issue so i upgraded to python 3.12 and got it running. But now when i click scan button, below error pops up, can you help me here?
I am facing issue right on the first line.
OS : Windows 10 64-bit
Traceback (most recent call last):
File "C:\Users\DELL\PycharmProjects\DocScanner1\main.py", line 1, in
import twain
File "C:\Users\DELL\PycharmProjects\DocScanner1\venv\lib\site-packages\twain_init_.py", line 12, in
from .lowlevel.structs import *
File "C:\Users\DELL\PycharmProjects\DocScanner1\venv\lib\site-packages\twain\lowlevel\structs.py", line 174, in
def frame2tuple(frame: TW_FRAME) -> tuple[float, float, float, float]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: