-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unable to automatically install library due to spaces in username when using Gitbash #11399
Comments
@prithvikin Try the insiders build. It has a fix for this. |
Have the same issue and on the insiders build it still appears. |
@ahaq0 That's funny, I switched to insiders build and then back to the default and it seemed to fix it. I uninstalled the insiders build too, but I am not sure what caused/fixed the issue. Sorry if this doesn't help! |
Does that mean you did a clean install of windows? From what I can find that is the only way to go back.
From: Prithvi Kinariwala<mailto:[email protected]>
Sent: Sunday, September 6, 2020 7:08 PM
To: microsoft/vscode-python<mailto:[email protected]>
Cc: ammar<mailto:[email protected]>; Comment<mailto:[email protected]>
Subject: Re: [microsoft/vscode-python] Unable to automatically install pylint / rope due to spaces in username (#11399)
That's funny, I switched to insiders build and then back to the default and it seemed to fix it. I uninstalled the insiders build too, but I am not sure what caused/fixed the issue. Sorry if this doesn't help!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#11399 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJGXQA6QJ7IUQFDXS4GTWZLSEQ6C3ANCNFSM4MQOMFOQ>.
|
@ahaq0 To be frank, I'm not sure. I'm no where close to being qualified to comment on doing a clean install, but I didn't have to. I know it was really frustrating when I was trying to fix the issue. Maybe try PyCharm instead of VSCode? The clean install should the a last resort. |
@ahaq0 Can you confirm you are using the latest version of the extension? Also, can you confirm that you are having an issue installing python packages? |
Hi, yep the version is 2020.8 108011. Also, correct, I ended up installing pylint manually to alleviate the issue temporarily. I can try reinstalling VS Code and removing sync to reproduce the issue if you like. |
@ahaq0 Thank you, for helping address this. If you are able to reproduce it, please capture the command line and the error that you get. You should be able to see the command that was run and the error, in either the terminal or output > Python. Also share any particular environment details like path where the extension is installed, target location where the library was supposed to be installed, etc. |
Please see here Linter 'pylint' is not installed. Please install it or select another linter". Python interpreter path: c:\Users\ammar\OneDrive\Documents\Github\djangoSub\venv\Scripts\python.exe
Path Extension installed |
Is there any information I failed to include? |
@ahaq0 I don't see any spaces in the username. For the logs, I will need the command line that was used by the extension to try and install |
My problem was that I was using git bash (windows) as the terminal and vscode doesn't translate the backslashes. |
Yep, I’m using git bash as well. What was your solution?
From: Alberto G. Lagos<mailto:[email protected]>
Sent: Thursday, October 1, 2020 4:54 PM
To: microsoft/vscode-python<mailto:[email protected]>
Cc: ammar<mailto:[email protected]>; Mention<mailto:[email protected]>
Subject: Re: [microsoft/vscode-python] Unable to automatically install pylint / rope due to spaces in username (#11399)
My problem was that I was using git bash (windows) as the terminal and vscode doesn't translate the backslashes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#11399 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJGXQA7CKCR24BURXQSP7LTSIUJDTANCNFSM4MQOMFOQ>.
|
@ahaq0 I just executed the command manually with slashes in git bash (or with backslashes in the cmd), but you can just set cmd by default momentarily for this too. |
That's the root of the problem. After changing the default shell to CMD, everything works fine. |
Yeah this has worked for me too! Quick and easy!!! :) |
I've had the similar problem. After changing git bash to windows default cmd, it worked fine |
Our built-in support to Python tools has been deprecated in favour of linting and formatting extensions, hence closing this. These extensions already come with a version of the linter or formatter built-in (so you don't need to install them in your environment if you don't want to): |
Issue Type: Bug
When trying to install 'rope' to rename functions the command below is run which errors due to spaces in the username 'firstname lastname':
Extension version: 2020.4.74986
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T16:33:57.013Z)
OS version: Windows_NT ia32 10.0.18363
The text was updated successfully, but these errors were encountered: