Docker dev environment, pylint unable to import error
To try and find an answer for myself and anyone who read this, a possible reason for this is installing pylint via vscode which uses pip. Generally not recommended to do this or sudo pip install in linux. Use your linux package manager to install.
I have a problem, I have been using a docker environment for my django 2.0 project and pylint was working fine but now it's showing the unable to import module error. I'm aware that the import error question has been asked many times but it was always for a venv setup rather than docker environment setup. 
I'm not sure what triggered the error, but possibly because I deleted my old containers, volumes, images and started from scratch. 
I'm using Python 3 and VSCode on Manjaro Linux. 
Thanks in advance if anyone can help.
To add "python.linting.pylintArgs": ["--load-plugins", "pylint_django"] in settings results in real errors not being reported too.