Closed manascb1344 closed 1 year ago
PLS HELP
@MichalPavlik , please take a look (following up on our internal thread on this issue)
Hello @manascb1344, my understanding is that the installation is happening inside WSL2 environment. I tried to reproduce it by using dotnet-install.sh in Ubuntu 22.04.2 LTS hosted in WSL2:
curl -sSL https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh -Version 6.0.21 -Runtime dotnet
The installation was successful. Could you please tell us what distribution are you using? Could you also please try to install .NET manually using commands I posted here? Thank you.
I tired to run code .
from my WSL terminal. It caused VS Code Server installation. Then I installed C# DevKit extension to check if .NET will be installed. I found runnable .NET in home/<username>/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.10/dotnet
.
It might be a network issue. @manascb1344, could you please follow steps described in this comment? https://github.com/dotnet/vscode-csharp/issues/6004#issuecomment-1664760326
Hi @manascb1344 ,
It doesn't look like dotnet-install problem, but rather something curl related. Could you try to apply some recommendations from this thread? https://stackoverflow.com/questions/30017397/error-curl-usr-local-lib-libcurl-so-4-no-version-information-available-requ
@manascb1344, are you able to try "install-script.sh" without using Conda? We would like to narrow down the root cause, but we are not able to reproduce it.
cc: @baronfel
@manascb1344, are you able to try "install-script.sh" without using Conda? We would like to narrow down the root cause, but we are not able to reproduce it.
cc: @baronfel
how shall i try this install-script.sh
Hi @manascb1344 ,
It doesn't look like dotnet-install problem, but rather something curl related. Could you try to apply some recommendations from this thread? https://stackoverflow.com/questions/30017397/error-curl-usr-local-lib-libcurl-so-4-no-version-information-available-requ
tried this but got the same error
I always see error acquiring dotnet error on opening vs code
@manascb1344 , could you also try to run the command
conda install -c conda-forge ncurses
and reboot VS Code?
More details can be find here: https://stackoverflow.com/questions/72103046/libtinfo-so-6-no-version-information-available-message-using-conda-environment
close as with no response after providing guidance.
An error occurred while installing .NET (6.0): .NET Acquisition Failed: Installation failed: Error: Command failed: "/home/mcb76/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-1.7.1/dist/install scripts/dotnet-install.sh" -InstallDir "/home/mcb76/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/6.0.21" -Version 6.0.21 -Runtime dotnet bash: /home/mcb76/miniconda3/envs/tftest1/lib/libtinfo.so.6: no version information available (required by bash) /home/mcb76/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-1.7.1/dist/install scripts/dotnet-install.sh: line 1253: link_types[$link_index]: unbound variable
this is the issue
tried installing .net again by first doing --purge and again installing triend installing using conda too then also tried installing from the dotnet documentation also another error that is seen is polyglot notebooks needs dotnet sdk version 7.0 or higher
I AM RUNNING MY VSCODE FROM A REMMOTE SERVER I HAVE WSL2 INSTALLED ON TOP OF WINDOWS VSCODE IS INSTALLED ON WINDOWS I HAVE AN ACTIVE CONDA ENVIRONMENT I RUN VSCODE FROM WSL TERMINAL USING code .