-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Installing pylint fails if pip module is not installed #266
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
Comments
This can happen if your version of Python is rather old or if you're on Linux and your distribution doesn't include pip with Python by default and you have not installed pip yourself manually. |
I think this was me. I had latest anaconda installed.
…On Tue, Nov 21, 2017 at 11:37 AM, Brett Cannon ***@***.***> wrote:
This can happen if your version of Python is rather old or if you're on
Linux and your distribution doesn't include pip with Python by default and
you have not installed pip yourself manually.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#266 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAtUVAYjSnf0SRh_M65IayAoZgmS-Mq9ks5s4yaMgaJpZM4Qk5w3>
.
|
@smortaz Did they take it out? I have Anaconda installed for Python 3.6 and it has pip out-of-the-box. |
it has it. that's why i was surprised when it failed. don was looking
over my shoulder...
…On Tue, Nov 21, 2017 at 12:40 PM, Brett Cannon ***@***.***> wrote:
@smortaz <https://github.com/smortaz> Did they take it out? I have
Anaconda installed for Python 3.6 and it has pip out-of-the-box.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#266 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAtUVEGHSuy_PL2qVhDubw-1nZ2zjqNgks5s4zUwgaJpZM4Qk5w3>
.
|
Do you have the error message? Is it a permissions issue or something? |
@brettcannon , the new changes coming with Conda installer would display the following message to the user |
* Add support for pip and/or conda when installing modules * Fix display versions for environments (fixes #378) * Refactor installer to use the pip/conda module installer for installation of modules * Performance improvement of detecting virtual env and setting it (fixes #372) * Code refactor to ensure interpreter locators use the new DI framework * Fixes #266
@DonJayamanne Have the same problem. |
Hi @Joilence you'll need to install pip. Our current version will display a message rather than getting the user figure this out from the error message. |
@Joilence currently we're looking at improving the ux by providing some instructions to the user with more info on setting up python, pip etc when these tools aren't available. |
@DonJayamanne in my case while I am using a virtual enviroment and addressing it by variables(i.e. "python.pythonPath": "${HOME}/path/to/python" in setting file) it nags "No installers available to install pylint.", but when I use absolute path it works correctly. |
You can still fail and get these errors even with what everyone says above. You might have to Select the proper python version. To select a specific interpreter, select the Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P). Considering how unfriendly the software is to all of this, I would re-open this issue or link to an alternate fix for it. |
That is the correct solution.
Please could you elaborate further so we can understand the pain points clearly. |
The UI says Python in the bottom right hand corner and I have everything python working except Code thinks otherwise (errors in this issue). How am I supposed to know that I need to pick and interpreter when Python is already selected? The system doesn't tell you that. It just throws meaningless errors. Maybe you can combine or connect the interpreter and language mode features. |
@bbrendon, agreed. This is something we'll be looking into, in the new year. Please could you create a separate issue with these details do it could be addressed specifically. Thanks. |
Ubuntu 16.04, have both pip and pip3 installed. Getting same error message. Info "No installers available to install pylint". VSCode v 1.18.0 |
Does it work better if you specify full path to python interpreter rather than just 'python'? |
@MikhailArkhipov thanks! setting |
We are improving path and settings handling in the next release :-) |
Added the path to the python install in, I get intellisense but pylint still can't install.... |
@douglasg14b specifying the path to your Python interpreter won't solve the problem if you don't have pip installed. Are you running on macOS and using the system install? |
Hello Friends
This is my first comment on github I apologies previously if I have some styling and grammatical problem |
I tried the solution provided by@elmariofredo, just set |
@farid220 Your solution finally solved this issue for me. Thank you so much. |
Just do this in MacOS or Linux:
|
Installation of pylint fails when pip module is not installed.
The text was updated successfully, but these errors were encountered: