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

pylint_celery missing dependency #127

Open
soloidx opened this issue Jul 16, 2020 · 0 comments
Open

pylint_celery missing dependency #127

soloidx opened this issue Jul 16, 2020 · 0 comments

Comments

@soloidx
Copy link

soloidx commented Jul 16, 2020

What happened?

I got an error message on pylint:

Suspicious state from syntax checker python-pylint: Flycheck checker python-pylint returned 1, but its output contained no errors: Traceback (most recent call last):
  File "/Users/soloidx/.venvs/everycheese/bin/pylint", line 8, in <module>
    sys.exit(run_pylint())
  File "/Users/soloidx/.venvs/everycheese/lib/python3.8/site-packages/pylint/__init__.py", line 22, in run_pylint
    PylintRun(sys.argv[1:])
  File "/Users/soloidx/.venvs/everycheese/lib/python3.8/site-packages/pylint/lint/run.py", line 303, in __init__
    linter.load_plugin_modules(plugins)
  File "/Users/soloidx/.venvs/everycheese/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 498, in load_plugin_modules
    module = modutils.load_module_from_name(modname)
  File "/Users/soloidx/.venvs/everycheese/lib/python3.8/site-packages/astroid/modutils.py", line 203, in load_module_from_name
    return load_module_from_modpath(dotted_name.split("."), path, use_sys)
  File "/Users/soloidx/.venvs/everycheese/lib/python3.8/site-packages/astroid/modutils.py", line 244, in load_module_from_modpath
    mp_file, mp_filename, mp_desc = imp.find_module(part, path)
  File "/Users/soloidx/.pyenv/versions/3.8.1/lib/python3.8/imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'pylint_celery'

I assume that it is because in .pylintrc is configured to use the pylint_celery plugin but is not listen inside the requirements/local

What should've happened instead?

Should pass smoothly

Steps to reproduce

cookiecutter gh:feldroy/django-crash-starter

[creating a venv and enabling it]

pip install pylint
pylint
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