Error installing Python extensions in WSL #20401
Replies: 1 comment
-
Locking as this is a duplicate of microsoft/vscode#169562 . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, I'm having some issues with installing the Python extensions into my WSL Ubuntu remote. I've had a look at other similar issues such as this one from May 2020 and this one from Feb 2020, but none of the solutions given there worked for me.
Environment Information
Expected Behaviour
Extension installs without issue
Actual Behaviour
Extension installs correctly for local system, but fails when installing to WSL:Ubuntu-18.04. Error message:
EACCES: permission denied, rename '/home/daniel/.vscode-server/extensions/.0dbee2d2-fa76-40e7-aedc-98e1b6dcd534' -> '/home/daniel/.vscode-server/extensions/ms-python.python-2022.20.1'
What I have tried so far
I have tried using
sudo chown -R daniel /home/daniel/.vscode-server/extensions
andsudo chown -R 777 /home/daniel/.vscode-server/extensions
but neither of these fixed the issue.I have also tried installing from a .vsix file both from within VS Code and via the command line and neither of these were successful either, with the former giving the following error message:
Command 'Extensions: Install from VSIX...' resulted in an error (Canceled, Canceled)
For all of the above I have had the setting
Remote.WSL > File Watcher: Polling
enabled, but it hasn't helped.I would be extremely grateful for any assistance!
Beta Was this translation helpful? Give feedback.
All reactions