[issue44669] TypeError: 'type' object is not subscriptable
Michal D.
report at bugs.python.org
Sun Jul 18 16:25:01 EDT 2021
New submission from Michal D. <michal.dziczkowski at gmail.com>:
While attempting to run an application with was working before I had updated Python to the version 3.9, I had recieved following error message:
`
Fatal Python error: init_import_size: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
File "/usr/lib/python3.9/site.py", line 79, in <module>
import os
File "/usr/lib/python3.9/os.py", line 29, in <module>
from _collections_abc import _check_methods
File "/usr/lib/python3.9/_collections_abc.py", line 12, in <module>
GenericAlias = type(list[int])
TypeError: 'type' object is not subscriptable
`
Any workarounds for this ?
OS: Debian 10 (64-bit)
----------
messages: 397758
nosy: michal.dziczkowski
priority: normal
severity: normal
status: open
title: TypeError: 'type' object is not subscriptable
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44669>
_______________________________________
More information about the Python-bugs-list
mailing list