Skip to content

ImportError: cannot import name 'default_handlers' (0.14.2) #405

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

Closed
alanbchristie opened this issue Sep 2, 2022 · 1 comment
Closed

Comments

@alanbchristie
Copy link

Suddenly started getting this error using 0.14.2...

>>> from openapi_core import create_spec
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/alan/opt/anaconda3/lib/python3.7/site-packages/openapi_core/__init__.py", line 3, in <module>
    from openapi_core.shortcuts import (
  File "/Users/alan/opt/anaconda3/lib/python3.7/site-packages/openapi_core/shortcuts.py", line 3, in <module>
    from openapi_core.spec.shortcuts import create_spec
  File "/Users/alan/opt/anaconda3/lib/python3.7/site-packages/openapi_core/spec/shortcuts.py", line 3, in <module>
    from openapi_spec_validator import (
ImportError: cannot import name 'default_handlers' from 'openapi_spec_validator' (/Users/alan/opt/anaconda3/lib/python3.7/site-packages/openapi_spec_validator/__init__.py)

I managed to get around the problem by updating to 0.14.4

@p1c2u
Copy link
Collaborator

p1c2u commented Sep 2, 2022

Duplicate of #402 dance closing

@p1c2u p1c2u closed this as completed Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants