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 import-error #5487

Closed
oiwn opened this issue Mar 14, 2016 · 1 comment
Closed

pylint import-error #5487

oiwn opened this issue Mar 14, 2016 · 1 comment

Comments

@oiwn
Copy link

oiwn commented Mar 14, 2016

There is some problem with pylint, maybe need to put current projectile path into the PYTHONPATH?

from settings import db_connection  # <--- pylint show me import error

because module is in utils/ while settings.py is in project root, there is init-hook in .pylintrc where i can add path to my project directly (by absolute path) but if i do os.path.abspath(file) it show me pylint path in my virtualenvironment btw virtualenvironment located not in project root (i'm using virtualenvwrapper)
any hints?

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
@lebensterben lebensterben removed the stale marked as a stale issue/pr (usually by a bot) label Feb 4, 2022
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

3 participants