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
Hi, I got the bellow error when i wanted to run the code.
Traceback (most recent call last): File "social_distancing_violation_system.py", line 58, in <module> class MainCtrl: File "social_distancing_violation_system.py", line 185, in MainCtrl def get_roi_frame(self, frame, coordinate: list[tuple]): TypeError: 'type' object is not subscriptable
I have python version 3.8.0 (2019) and all requirements.txt have installed successfully. is it about python version?
The text was updated successfully, but these errors were encountered:
Hi @mhmrahmati , I think it related to the python version. You may try to use from __future__ import annotations to fix the issue.
You may also refer this link regarding the issue.
Hi, I got the bellow error when i wanted to run the code.
Traceback (most recent call last): File "social_distancing_violation_system.py", line 58, in <module> class MainCtrl: File "social_distancing_violation_system.py", line 185, in MainCtrl def get_roi_frame(self, frame, coordinate: list[tuple]): TypeError: 'type' object is not subscriptable
I have python version 3.8.0 (2019) and all requirements.txt have installed successfully. is it about python version?
The text was updated successfully, but these errors were encountered: