6,012 questions
-2
votes
0
answers
31
views
xv6 on WSL Thermal Throttles CPU [closed]
Installation:
$sudo apt-get install git build-essential gdb-multiarch qemu-system-misc gcc-riscv64-linux-gnu binutils-riscv64-linux-gnu
version:
$ qemu-system-riscv64 --version
QEMU emulator version ...
Advice
0
votes
1
replies
35
views
Why is the WSL (Nat) able to reach to Vmware (Nat)?
Thank you all for reading my post in advance.
So I have my VMware Virtual machine (Nat) which is listed as below:
huang@ubuntu:~$ ip route show default
default via 192.168.189.2 dev ens33 proto ...
Advice
1
vote
3
replies
65
views
WSL2: How to get the "distribution-ids" for the installed Linux distributions?
When I look into the settings in Windows Terminal for the cmd-line how the default Linux distribution (Ubuntu) that has been installed is "accessed", I find:
C:\WINDOWS\system32\wsl.exe --...
Best practices
0
votes
2
replies
93
views
What's the best setup to use Ruby on Windows?
I'm new to Ruby and I'd like to know the best way to program in Ruby on a Windows computer.
I already have a setup, but it's not working very well: I have VS Code with the Ruby LSP extension, and in ...
1
vote
0
answers
95
views
Collecting dotnet-dump on WSL when process is stuck at GC.WaitForPendingFinalizers();
I am working on a .NET 8 server side application which is deployed on Ubuntu 22.04.5 as a service (using systemctl). As part of application shutdown, it calls GC.WaitForPendingFinalizers(); (legacy ...
1
vote
1
answer
115
views
How to build and install a BLAS-enabled llama-cpp-python (GGML_BLAS=ON) on WSL (Ubuntu)?
I’m trying to install a BLAS-enabled version of llama-cpp-python on WSL so that the GGML library uses OpenBLAS. I attempted two different pip install invocations with CMAKE_ARGS, but the module ...
0
votes
1
answer
122
views
Open project inside WSL, GIT not working: IJent Error
I've opened a project inside my WSL.
But there is an error on Git.
When I go on Settings → Git → Path to Git executable: \\wsl.localhost\Ubuntu\usr\bin\git
Then i click test and he shows me this error:...
0
votes
0
answers
81
views
Cannot link R function on Win10 to .bin executable on WSL/Debian
I attempted to execute code entitled "Multilayer community detection" using the muxViz library (https://github.com/manlius/muxViz) published on https://manlius.github.io/muxViz/articles/...
1
vote
0
answers
140
views
Why does curl in WSL2 (Fedora and updated Arch) return "Recv failure: Connection reset by peer" on https://sh.rustup.rs?
Problem Description
I am trying to install Rust through rustup in WSL2, but in some
distributions any curl request to https://sh.rustup.rs fails with a
TLS error.
Command:
curl --proto '=https' --...
373
votes
33
answers
628k
views
Docker gets error "failed to compute cache key: not found" - runs fine in Visual Studio
I've generated a Dockerfile with Visual Studio. It runs in Visual Studio just fine and now I'm trying to build it from Windows itself (docker build ., and I tried many combinations). Yet I get the ...
1
vote
1
answer
75
views
Prevent VS Code Server in WSL from attempting to update (due to corporate firewall)
I am running VS Code on Windows 11 and WSL1 with Ubuntu 22.04.5 LTS behind a corporate firewall.
The firewall prevents updates of the VS Code Server instance inside WSL to download, but somehow it ...
2
votes
1
answer
99
views
pyinstaller is just outputting a generic file, not an exe
I am trying to turn my Python script to an exe, but for some reason pyinstaller is just outputting a file of type file. It doesn't run if I add .exe to the end either. I am using WSL in VSCode and ...
0
votes
0
answers
108
views
wsl: Permission denied on using pyenv
Problem
I recently installed pyenv on wsl(24.04) and tried to set python version on local directory, but I got this error:
$ pyenv local 3.14.0
~/.pyenv/libexec/pyenv-version-file-write: line 37: ....
3
votes
2
answers
1k
views
VSCode stuck in "Opening remote" / "No WSL distros found" error
It was working fine a couple of days ago, now it's stuck in "Opening remote".
An error is shown on a toast saying: "No WSL distros found. New distros can be installed from the Microsoft ...
356
votes
13
answers
165k
views
How can I change the location of docker images when using Docker Desktop on WSL2 with Windows 10 Home?
I've just upgraded to Windows 10 Home May 2020, activated WSL2, and installed Docker Desktop.
WSL2 must be installed in my system disk, which is a small SSD. I don't want to fill it with docker images....