Unable to Install Pylint

Hi. I have just started the Complete Python Mastery course. I am up to 1.6 which explains how to install the python extension and pylint in VS code. I am following the video and can install the python extension without problem. However, once installed I do not get the automatic message that pylint is not installed. As I am never prompted to install pylint, I have no idea how to install it. It would be great if someone could help!

1 Like

Try to reinstall python, and then run python in vs code.
I think then you may get a pop up for installing pylint

2 Likes

I am experiencing the same problem. It may be related to the VS Code version?

Need help. Thanks.

2 Likes

Hi,
I also have this problem. I’ve tried to reinstall both python and VS code, both to no avail. The error message doesn’t come up, and when I try to search or pylint manually, nothing comes up.

Since pylint isn’t working, when I type, there is no dropbox to autofill the code command for me and there is also no red underline if/when code is wrong.

I was previously using pycharm which was brilliant, but since switching to VS code, I haven’t even been able to start the actual content, I’m being held back by program issues.

Please help!

2 Likes

Hi @Grace Please update your VSCode version.

I am having same problem… I downloaded everything lsat night, so it’s all up to date… I tried uninstalling and reinstalling… I never get the box to popup asking to instal Linter…

Are you on Mac or PC?

I think it may have something to do with Python 3.9. Cuz, Im having the problem on Mac, where I have Python installed, and when copy what Mosh does in Unit1 Video#6, I get no red underline under “Print.” BUT, I got a chance to try all of this on my Windows computer, and when I type “print ‘Hello World’” and hit save, I get the red underline, BUT, it’s under the term “Hello” and not print… like in Mosh video. I think Python v3.9 is not only different from Mosh video, but also operates slightly differently whether it’s mac vs pc… but I cant verify this cuz I am new to all of this… but it is my hunch… let me know how it all works for you. :slight_smile:

Somthing else… if you bring up the Command Pallette (right click in a blank area on your file, and it should be at the bottom of the menu)… click that, and in the search area, type Python: run linter… and variety of “lint” commands should pop up… you can “run pylint”, or turn it on, etc… I think that is proof that pylint is there… and I think pylint just has been updated to operate differently than Mosh’s older video… not sure tho.

1 Like

Try to reinstall python, and then run python in vs code.
I think then you may get a pop up for installing pylint

I am on windows and also noticed the red underline was in a different location on my terminal than on Mosh’s in the video. It’s definitely either a python or VS Code version thing.

I had this same problem, but when I opened app.py the pop-up came back and I could move forward with the steps.
(windows):
Ctrl-Shift-P
type “linter” and choose “Select Linter”
choose pylint

Hello.

I don’t have access to Python course, but I’ll try to help.

I manage to replicate the ‘I can’t find pylinter’ query. Here is what I did to find the pylint thing and how you can see the errors as you type.

  1. Make sure you install the Python extension. Here is the picture of the one I installed

python 1

  1. Now, type some python code with a very obvious error… and save the file (you know… with the .py ending)

  2. You will see a pop up with the pylint thing you are looking for. This is what I got:
    python 2
    Of course, click on install! :wink:

  3. Finally I managed to see the highlight you are looking for (and probably the one on the videos)
    python3

Let me know if this description solves the issue.

1 Like

I had this problem with Python 3.9 on a Mac and when reinstalled the VS it was fixed. The popup appeared and I was able to install pylint.