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

ImportError: No module named pylint_django #72

Closed
erm0l0v opened this issue Jun 3, 2016 · 2 comments
Closed

ImportError: No module named pylint_django #72

erm0l0v opened this issue Jun 3, 2016 · 2 comments

Comments

@erm0l0v
Copy link

erm0l0v commented Jun 3, 2016

Hi I got an error while try to run pylint with pylint_django

Traceback (most recent call last):
  File "/usr/local/bin/pylint", line 9, in <module>
    load_entry_point('pylint==1.4.1', 'console_scripts', 'pylint')()
  File "/Library/Python/2.7/site-packages/pylint/__init__.py", line 23, in run_pylint
    Run(sys.argv[1:])
  File "/Library/Python/2.7/site-packages/pylint/lint.py", line 1221, in __init__
    linter.load_plugin_modules(plugins)
  File "/Library/Python/2.7/site-packages/pylint/lint.py", line 450, in load_plugin_modules
    module = modutils.load_module_from_name(modname)
  File "/Library/Python/2.7/site-packages/astroid/modutils.py", line 137, in load_module_from_name
    return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
  File "/Library/Python/2.7/site-packages/astroid/modutils.py", line 179, in load_module_from_modpath
    mp_file, mp_filename, mp_desc = imp.find_module(part, path)
ImportError: No module named pylint_django

python -c "import pylint_django" - works fine


Versions:

OS: OS X 10.11.4
Python: 2.7.10
pylint: 1.5.5
pylint-django: 0.7.1

@lezorich
Copy link

lezorich commented Jun 10, 2016

I have the same error!

python: 3.5.1
pylint: 1.5.5
pylint-django: 0.7.1

Edit: I restarted my virtualenv and everything works fine now!

carlio added a commit that referenced this issue Jun 16, 2016
@carlio
Copy link
Collaborator

carlio commented Jun 16, 2016

#73 will hopefully help with this, will close for now and make a release soon.

@carlio carlio closed this as completed Jun 16, 2016
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

3 participants