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

"Missing formatter" popup installation suggestion fail : typing powershell command in WSL terminal #16268

Closed
playerla opened this issue May 18, 2021 · 2 comments
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@playerla
Copy link

Environment data

  • VS Code version: 1.56.2
  • Extension version (available under the Extensions sidebar): v2021.5.842923320
  • OS and version: Windows 10
  • Python version : 3.8

Expected behaviour

Black suggested installation work

Actual behaviour

Black installation fail :

user@DESKTOP:/mnt/c/Users/user/Downloads/project/myproject$ & C:/Users/user/AppData/Local/Programs/Python/Python38/python.exe c:\Users\user\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pythonFiles\pyvsc-run-isolated.py pip install -U black--user

I had to run it manually in the right powershell terminal

Steps to reproduce:

  • Switch new terminal parameter to "terminal.integrated.defaultProfile.windows": "Debian (WSL)",
  • Format a python file without the selected formatter installed
  • Click "Yes" to install black from the VSCode suggestion popup
@playerla playerla added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels May 18, 2021
@playerla playerla changed the title Missing formatter popup / installation suggestion fail : typing powershell command in WSL terminal "Missing formatter" popup installation suggestion fail : typing powershell command in WSL terminal May 18, 2021
@playerla
Copy link
Author

More general issue : #16252

@karthiknadig
Copy link
Member

Duplicate of #16175

@karthiknadig karthiknadig marked this as a duplicate of #16175 May 18, 2021
@karthiknadig karthiknadig removed the triage-needed Needs assignment to the proper sub-team label May 24, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants