Skip to content

Resolve AttributeError: module 'typing' has no attribute '_SpecialForm' #492

Description

@johnhbenetech

Post installation local docker build of development branch, the videodeduplication container fails to start

Traceback (most recent call last):
  File "/anaconda/envs/winnow/bin/jupyter-notebook", line 7, in <module>
    from notebook.notebookapp import main
  File "/anaconda/envs/winnow/lib/python3.6/site-packages/notebook/notebookapp.py", line 60, in <module>
    from tornado import httpserver
  File "/anaconda/envs/winnow/lib/python3.6/site-packages/tornado/httpserver.py", line 32, in <module>
    from tornado.http1connection import HTTP1ServerConnection, HTTP1ConnectionParameters
  File "/anaconda/envs/winnow/lib/python3.6/site-packages/tornado/http1connection.py", line 32, in <module>
    from tornado import gen
  File "/anaconda/envs/winnow/lib/python3.6/site-packages/tornado/gen.py", line 94, in <module>
    import contextvars
  File "/anaconda/envs/winnow/lib/python3.6/site-packages/contextvars/_init_.py", line 4, in <module>
    import immutables
  File "/anaconda/envs/winnow/lib/python3.6/site-packages/immutables/_init_.py", line 18, in <module>
    from ._protocols import MapKeys as MapKeys
  File "/anaconda/envs/winnow/lib/python3.6/site-packages/immutables/_protocols.py", line 17, in <module>
    from typing_extensions import Protocol
  File "/anaconda/envs/winnow/lib/python3.6/site-packages/typing_extensions.py", line 159, in <module>
    class _FinalForm(typing._SpecialForm, _root=True):
AttributeError: module 'typing' has no attribute '_SpecialForm'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions