6,021 questions
2
votes
1
answer
51
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
64
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: ....
0
votes
0
answers
42
views
WslRegisterDistribution failed with error: 0x80370114 [closed]
[Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 L'opÚration n'a pas pu Ûtre dÚmarrÚe car une fonctionnalitÚ requise n'est pas ...
0
votes
0
answers
49
views
WSL stops functioning after a failed docker pull [closed]
I need to install a project on GitHub, and they said it should be installed by docker, so I installed docker desktop for windows and set up WSL integration following the guide on docker website.
After ...
-5
votes
0
answers
54
views
Is the VSCode WSL extension open source? [closed]
Extension: WSL
I have a use case that requires modifying the WSL VSCode extension. The extension page takes you to a GH repo for vscode-remote-release, but the extension code isn't in there. I've look ...
1
vote
1
answer
74
views
Segmentation fault when inserting row [closed]
I’m using GridDB 5.7 with Node.js 16 on WSL2 Ubuntu 22.04. I can successfully connect to the GridDB node, but when I create a container and try to insert a row, I get a segmentation fault:
My code ...
0
votes
1
answer
53
views
Cannot find module 'griddb-node' after installing GridDB Node.js client [closed]
I installed GridDB 5.7 and created a Node.js project:
mkdir griddb-node-test
cd griddb-node-test
npm init -y
npm install griddb-node
My code (test.js):
const griddb = require('griddb-node');
console....
0
votes
0
answers
76
views
My VS Code is just stuck on loading the remote WSL
I use WSL in Windows for developments but for a few days it is not working, it is just in the mood of loading and loading unloading. I checked my WSL via command terminal it's working there, but it's ...
0
votes
0
answers
48
views
Camoufox browser window remains visible in WSL even when `headless` is set to `virtual`
Camoufox browser window remains visible in WSL even when headless is set to virtual
Description
When headless is set to "virtual", the Camoufox browser window still appears on the screen in ...
0
votes
0
answers
58
views
GridDB Node.js StoreFactory.createStore / getStore is not a function [closed]
I installed GridDB 5.7 and am trying to use the Node.js client to create a store object. My code is:
Input
const griddb = require('griddb-node');
const factory = griddb.StoreFactory.createStore({
...
-2
votes
1
answer
48
views
VSCode custom extension throws an error about keybindings
I wanted to update my VSCode extension. But when running npm run test I get an error:
Error: Cannot find module './build/Debug/keymapping'
I tried to compare it with fresh extension, generated with ...
0
votes
1
answer
55
views
Laravel Sail + Xdebug
I have Laravel Sail installed in WSL, and I'm trying to debug the application using Xdebug. This only works if I enter the WSL IP address directly into the browser (http://172.17.170.44:8000). If I ...
1
vote
0
answers
64
views
configuring vagrant vm with ansible through WSL - Failed to connect to the host via ssh
i am having hard time with configuring vargrant vm with ansible, my host machine is windows 11 so i use WSL. (something its working and something i get "Failed to connect to the host via ssh"...
0
votes
0
answers
21
views
dfx command not working when running Motoko project
Error output when running dfx commands
I’m trying to run a simple Motoko project locally using the DFINITY SDK (dfx), but none of the dfx commands seem to work properly.
I’ve tried running commands ...
5
votes
2
answers
90
views
Actix Web server fails to restart on the same port when on WSL
I'm developing a simple Actix Web backend in Rust and running it on WSL (Windows Subsystem for Linux).
The server runs fine the first time, but when I use cargo watch -x run to auto-restart it on code ...
-1
votes
1
answer
80
views
WebStorm can not locate WSL files [closed]
I have been working on a project from WSL distribution which used yarn and docker so when I tested the project locally, it took up a lot of space. I already have little space on my disk, so when I ran ...
0
votes
0
answers
50
views
Why is the printk Function Not Visible in /proc/kallsyms on WSL2, But _printk Is Present?
I'm working with WSL2 on Windows, running Ubuntu (and I've tried Arch as well), and I'm encountering some odd behavior with the Linux kernel symbols, specifically around the printk function. It feels ...
0
votes
0
answers
32
views
Building React Native / Expo Android app using WSL, getting Unsupported Platform
I work on a Windows machine and have installed WSL with Ubuntu running, followed three different tutorials on how to set up Java and Android SDKs in that environment, and I'm still getting "...
1
vote
1
answer
94
views
Accessing WSL symlinks using R on Windows
Is it possible to access a symlink created in WSL from an R session running on the Windows host?
I've made a symlink in WSL. The link is not broken. I can view the contents in WSL using nano /...
0
votes
1
answer
107
views
How to handle path on Windows WSL2 in rust? [closed]
Background
I tried to develop a Rust lib to assist with swapping filenames for any two files, but I had problems when I tried to dealing with paths on WSL.
Examples
Normal Situation
File1
File2
Before
...
0
votes
0
answers
41
views
Is it possible for minikube on WSL2 to expose service on specific port?
I have a minikube installed on Ubuntu in WSL2.
Calling following deployment:
kubectl create deployment hello-minikube1 --image=kicbase/echo-server:1.0
Then creating service:
kubectl apply -f hello-...
0
votes
0
answers
32
views
Modifying software in Linux during what stage of the installation process? (./configure, make, make install) [duplicate]
I am currently trying to alter the behaviour of the PJSIP library I have installed on my local WSL. I am trying to add print statements in the code to understand the behaviour, between this library ...
0
votes
0
answers
266
views
VScode Github Copilot connection issues on WSL
I have been having issues with copilot in VScode, regardless of which model is used.
The issues arise especially in agent/edit mode.
The error message im getting in the output logs:
...
2
votes
0
answers
92
views
How to debug C++ code in a Python extension (VLLM) and speed up compilation?
I’m working with VLLM (open-source) which includes C++ extension code compiled for Python.
I installed it using
CXXFLAGS="-Og -g" pip install -e .
I want to debug the C++ code from Python by ...
0
votes
0
answers
67
views
Is there a way to access a network share in wsl2 visual studio debugger the same way it works in regular wsl terminal?
I can mount a company network drive in the WSL terminal. Presumably it can use the privileges of my windows user instead of my wsl ubuntu user when I do it. However when I am running Visual Studio ...
1
vote
1
answer
141
views
Docker build in WSL fails on curl download (curl: 56, unexpected eof)
I am trying to build a static FrankenPHP binary using their official Docker setup on Windows 10 with WSL 2 (Ubuntu). The build process, which uses docker buildx bake, fails at a step that downloads ...
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 ...
0
votes
0
answers
47
views
Redeploy docker application when server restarts
I have a docker application that we have deployed on a clients Windows 2022 server. As part of the clients security protocol the server does occasional restarts. I'd like the app to be redeployed ...
1
vote
1
answer
171
views
Debugging vLLM with debugpy on WSL fails: AttributeError: module 'ray' has no attribute 'is_initialized'
I’m trying to debug my Python code with debugpy in VS Code on WSL (Ubuntu).
Environment:
Python: 3.12.3 (venv)
vLLM: 0.10.1.1+cpu
debugpy: ms-python.debugpy-2025.10.0 (from VS Code extension)
...
0
votes
0
answers
31
views
dat-power extension is failing and stall sin a devcontainer
I am running a devcontainer on my windows machine using ubuntu as the WSL bistro. When I click the dot Power User extension - it's just loading constantly (the little blue line in the image moves from ...
-2
votes
1
answer
73
views
Bash script on Ubuntu WSL with odd concatenation behavior using fzf and a word list [duplicate]
This script behaves perfectly fine on a real Ubuntu system.
#!/bin/bash
set -Eeu -o pipefail
word1=$(awk '{print $2}' eff_short_wordlist_2_0.txt | fzf)
echo "${word1}"
word2=$(awk '{print $...
0
votes
0
answers
91
views
Querying Tailscale from inside WSL2
I've got Tailscale running on Windows 11 but I have some Bash scripts I run in WSL2 that query devices connected via Tailscale. That works fine, but parts of the scripts query the Tailscale CLI ...
1
vote
1
answer
94
views
How to send signal to a running python script in wsl terminal
I have a python script that process a list of time consuming tasks via calling subprocess, with ThreadPoolExecutor + max_worker to execute a small number of tasks in parallel.
I want to be able to ...
1
vote
1
answer
100
views
VSCode WSL Laravel: configure Ignition or Ray to open files directly in VSC debugger
I am using VSCode on windows with WSL Linux where the project files are and PHP and the XDebug debugger are running. When Ray or Ignition display debug information with a filename, I would like the ...
0
votes
1
answer
92
views
Volume mappings from Windows to WSL are causing problems when using /mnt/C/
We are developing an ASP.NET app on windows, which runs in docker. When using docker desktop, it "all just works". But a few of us are used to develop in Linux and prefer to work with WSL ...
0
votes
2
answers
43
views
Activating conda venv in wsl via Windows .bat file
I am trying to use a .bat file that would automatically open the console, and change into a certain conda venv in WSL / Ubuntu.
The following .bat file does open Ubuntu / wsl, but it stays in (base) ...
0
votes
0
answers
134
views
NodeJS and NPM disappears after WSL2 restarts
I tried a few times to install node and npm in WSL/Ubuntu22.04 via NVM, both node and npm would work just fine right after installation. But once I exit WSL2, wait for a while when it is confirmed ...
0
votes
0
answers
70
views
Docker Mounts from WSL Does Not Show Files But Mounts from Windows Do
My setup Windows 11 and WSL with Ubuntu 24 instance. I would like to have a typical Linux experience inside WSL. However when I have a directory structure like this
% tree ...
2
votes
1
answer
172
views
Weird gettimeofday behaviour (weird time jumps)
I've been working with the timeval struct and gettimeofday() for a couple of days now. Although I'm starting to understand how it works, there are still some cases where I'm completely lost.
I'm ...
0
votes
1
answer
71
views
p2.core.ProvisionException while installing new software in eclipse
I have just installed eclipse with wsl2 by following the guide below:
https://gist.github.com/rsenden/7bc96a3e678b60e61c750517ca8de883
While the setup is successful and eclipse is running, I am trying ...
0
votes
0
answers
52
views
HOOMD-blue GPU error: "invalid device ordinal" in WSL2 despite CUDA and GPU detection
I am trying to run HOOMD-blue 5.2.0 with GPU support inside WSL2 (Windows Subsystem for Linux), but I keep getting the following error:
RuntimeError: CUDA Error: invalid device ordinal before /hoomd/...
0
votes
1
answer
153
views
How to run WSL bash functions from CMD
In Windows cmd you can run wsl commands just by typing:
> wsl pwd
/mnt/c/Users/user/
But when I try to run functions that are stored in ~/.bashrc file, nothing is happening:
> wsl test
>
...
0
votes
0
answers
121
views
Docker Desktop can't pull behind a proxy
The latest docker desktop can't pull. I use docker desktop and pull in Docker Hub, it shows
(HTTP code 500) server error - failed to resolve reference "docker.io/n8nio/n8n:latest": failed to ...
0
votes
3
answers
4k
views
Unable to start MCP servers in VS Code in WSL
I'm attempting to connect to several MCP Servers in VS Code after general availability was recently released. VS Code is running in WSL: Ubuntu. I made a number of changes to my VS Code terminal ...
1
vote
1
answer
273
views
WSL / VSCode Remote server doesn't load shell-init files or setup env-vars or path for MCP Servers
This is a specific question about how to inject or modify environment variables into the VS Code remote server.
I am using Windows 11 Visual Studio Code release 1.102.1
I am trying to use the MCP ...
1
vote
1
answer
169
views
Intelephense is showing Undefined Type errors that are not true
Windows 11: 24h2
VS Code: 1.102.1 (WSL: Ubuntu 24.04.2 LTS)
Intelephense: 1.14.4
Symfony: v6.4.23
PHP: 8.2.28
<?php
namespace App\Command;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\...
0
votes
0
answers
372
views
How to run an application through WSL in Rider?
I need help figuring out the following: I have a requirement to run an application through WSL (both in debug and non-debug modes) in Rider 2025.1. I don’t understand how to set this up—I’ve already ...
0
votes
1
answer
128
views
React application doesn't run on localhost:8080 inside WSL
I am using WSL2 (Ubuntu) to develop a React application built using Vite. When running the npm run dev command, the terminal reports that the server is running on localhost:8080, but:
When trying to ...
-1
votes
1
answer
59
views
Terraform deployment in localstack with out errors half the config only get deployed [closed]
So Im trying to deploy some terraform configuration into localstack. Im running it inside WSL so linux based, The problem is that for testing now the configuration in terraform creates an S3 bucket ...
0
votes
2
answers
85
views
Running a ddev exec via docker compose file on project start in WSL2
I have a Symfony project running in container via WSL2. There is a messenger worker that I would like to start automatically when starting the project with ddev start. To start the worker manually, I ...