When using the python plugin "ms-python.python" in vscode,Downloading Python-Language-Server too slowly in China?
It takes at least tens of minutes to download it?
Have you considered providing a cdn download address?
Or provide a guide on how to download and install it myself.
Downloading https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.5.30.nupkg...
Downloading https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-linux-x64.0.5.30.nupkg...
I have the same problem,i could not download it
After download *.nupkg via Thunder, manually extract it to ~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30
unzip Python-Language-Server-linux-x64.0.5.30.nupkg -d ~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30
Note that the version of Python-Language-Server and the version of ms-python are replaced with the currently used version.
After download
*.nupkgvia Thunder, manually extract it to~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30unzip Python-Language-Server-linux-x64.0.5.30.nupkg -d ~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30Note that the version of Python-Language-Server and the version of ms-python are replaced with the currently used version.
Unzip to the directory under windows system.
C:\Users\yourusername\.vscode\extensions\ms-python.python-2020.2.64397\languageServer.0.5.30
After download
*.nupkgvia Thunder, manually extract it to~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30unzip Python-Language-Server-linux-x64.0.5.30.nupkg -d ~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30Note that the version of Python-Language-Server and the version of ms-python are replaced with the currently used version.
Thanks ,i get it
After download
*.nupkgvia Thunder, manually extract it to~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30unzip Python-Language-Server-linux-x64.0.5.30.nupkg -d ~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30Note that the version of Python-Language-Server and the version of ms-python are replaced with the currently used version.
Unzip to the directory under windows system.
C:\Users\yourusername\.vscode\extensions\ms-python.python-2020.2.64397\languageServer.0.5.30
Thanks for your solution.
I extracted the .nupkg to ~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30 but vscode says:
[Error - 0:00:00 PM] Starting client failed
Launching server using command /Users/USERNAME/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30/Microsoft.Python.LanguageServer failed.
It's a MacOS Catalina 10.15.3 with vscode 1.14.2, and the file does exist. Is there anything that I missed?
Thanks!
After download
*.nupkgvia Thunder, manually extract it to~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30unzip Python-Language-Server-linux-x64.0.5.30.nupkg -d ~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30Note that the version of Python-Language-Server and the version of ms-python are replaced with the currently used version.
Unzip to the directory under windows system.
C:\Users\yourusername\.vscode\extensions\ms-python.python-2020.2.64397\languageServer.0.5.30Thanks for your solution.
I extracted the.nupkgto~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30but vscode says:[Error - 0:00:00 PM] Starting client failed Launching server using command /Users/USERNAME/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30/Microsoft.Python.LanguageServer failed.It's a MacOS Catalina 10.15.3 with vscode 1.14.2, and the file does exist. Is there anything that I missed?
Thanks!
Some problem! But my environment is Linux debian 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux and use remote server.
链接: https://pan.baidu.com/s/1JOGlM_3zA4WMJXGpOuoa6A 提取码: fcr7
After download
*.nupkgvia Thunder, manually extract it to~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30unzip Python-Language-Server-linux-x64.0.5.30.nupkg -d ~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30Note that the version of Python-Language-Server and the version of ms-python are replaced with the currently used version.
Unzip to the directory under windows system.
C:\Users\yourusername\.vscode\extensions\ms-python.python-2020.2.64397\languageServer.0.5.30Thanks for your solution.
I extracted the.nupkgto~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30but vscode says:[Error - 0:00:00 PM] Starting client failed Launching server using command /Users/USERNAME/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30/Microsoft.Python.LanguageServer failed.It's a MacOS Catalina 10.15.3 with vscode 1.14.2, and the file does exist. Is there anything that I missed?
Thanks!
chmod 777 /home/yourusername/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30/Microsoft.Python.LanguageServer
@masx200 Thanks dude, thanks!
chmod a+x /home/yourusername/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30/Microsoft.Python.LanguageServer
did the trick.
I download nupkg file, but i donot know how to unzip it on window or install it
I download nupkg file, but i donot know how to unzip it on window or install it
use 7-zip to extract it
thank you !
There are steps in https://github.com/microsoft/python-language-server/blob/master/CONTRIBUTING.md how to set up LS as we do for debugging. Basically
languageServer (does not have to be versioned).nupkg to .zip and unzip to the folder.chmod +x Microsoft.Python.LanguageServerpython.downloadLanguageServer to false.python.jediEnabled to false.See also https://github.com/microsoft/python-language-server/issues/1698
Closing since CDN is not LS issue. Manual installation steps are above and in https://github.com/microsoft/python-language-server/issues/1698
Most helpful comment
After download
*.nupkgvia Thunder, manually extract it to~/.vscode/extensions/ms-python.python-2020.2.64397/languageServer.0.5.30Note that the version of Python-Language-Server and the version of ms-python are replaced with the currently used version.