Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: type object 'Callable' has no attribute '_abc_registry' #446

Closed
nephaste opened this issue May 27, 2021 · 3 comments
Closed

Comments

@nephaste
Copy link

Hi

i am trying installing with Python 3.8
when starting launcher.py got

 Traceback (most recent call last):
  File "launcher.py", line 9, in <module>
    import main
  File "src/main.py", line 8, in <module>
    import migrations.migrate
  File "src/migrations/migrate.py", line 9, in <module>
    import execution.logging
  File "src/execution/logging.py", line 7, in <module>
    from execution.execution_service import ExecutionService
  File "src/execution/execution_service.py", line 4, in <module>
    from typing import Optional, Dict, Callable, Any
  File "/share/CACHEDEV1_DATA/.qpkg/ScriptServer/typing.py", line 1359, in <module>
    class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
  File "/share/CACHEDEV1_DATA/.qpkg/ScriptServer/typing.py", line 1007, in __new__
    self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'

pip requirement installed

  • tornado 6.1
  • typing 3.7.4.3

i have no clue on how to fix it...

thanks for your help

@bugy
Copy link
Owner

bugy commented May 27, 2021

Hi @nephaste, could you try uninstall typing and run it again?
It should be a part of standard python library, not an external dependency

@nephaste
Copy link
Author

thanks it run :)

probably need to be removed from requirement.txt

@bugy
Copy link
Owner

bugy commented May 27, 2021

Good point, thanks

@bugy bugy added the resolved label May 27, 2021
@bugy bugy added this to the 1.17.0 milestone May 27, 2021
@bugy bugy closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants