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

Bug on Step 6 of Setup #2

Open
seanahrens opened this issue Jan 10, 2023 · 0 comments
Open

Bug on Step 6 of Setup #2

seanahrens opened this issue Jan 10, 2023 · 0 comments

Comments

@seanahrens
Copy link

Thanks for making this! On Step 6 of setup (attempting to run celery) I ran into the following error. I am on a Mac.

(env) [REDACTED] flask-restful-example % celery worker -A celery_worker.celery --loglevel=info
Traceback (most recent call last):
  File "[REDACTED]/flask-restful-example/env/lib/python3.11/site-packages/vine/five.py", line 361, in <module>
    from inspect import formatargspec, getfullargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/opt/homebrew/Cellar/[email protected]/3.11.1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "[REDACTED]/flask-restful-example/env/bin/celery", line 5, in <module>
    from celery.__main__ import main
  File "[REDACTED]/flask-restful-example/env/lib/python3.11/site-packages/celery/__init__.py", line 153, in <module>
    from . import local  # noqa
    ^^^^^^^^^^^^^^^^^^^
  File "[REDACTED]/flask-restful-example/env/lib/python3.11/site-packages/celery/local.py", line 17, in <module>
    from .five import PY3, bytes_if_py2, items, string, string_t
  File "[REDACTED]/flask-restful-example/env/lib/python3.11/site-packages/celery/five.py", line 7, in <module>
    import vine.five
  File "[REDACTED]/flask-restful-example/env/lib/python3.11/site-packages/vine/__init__.py", line 8, in <module>
    from .abstract import Thenable
  File "[REDACTED]/flask-restful-example/env/lib/python3.11/site-packages/vine/abstract.py", line 6, in <module>
    from .five import with_metaclass, Callable
  File "[REDACTED]/flask-restful-example/env/lib/python3.11/site-packages/vine/five.py", line 364, in <module>
    from inspect import formatargspec, getargspec as _getargspec  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'formatargspec' from 'inspect' (/opt/homebrew/Cellar/[email protected]/3.11.1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
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

1 participant