This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michal.dziczkowski
Recipients michal.dziczkowski
Date 2021-07-18.20:25:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626639901.47.0.668651753174.issue44669@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2021-07-18 20:25:01michal.dziczkowskisetrecipients: + michal.dziczkowski
2021-07-18 20:25:01michal.dziczkowskisetmessageid: <1626639901.47.0.668651753174.issue44669@roundup.psfhosted.org>
2021-07-18 20:25:01michal.dziczkowskilinkissue44669 messages
2021-07-18 20:25:01michal.dziczkowskicreate