Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
通过 PowerShell/cmd 调用 Linux 应用程序的 Windows 子系统 [关闭]
Closed 这个问题不符合堆栈溢出指南 help closed questions 目前不接受答案 随着最近推出的 Windows 内部版本 14316 我们拥有了适用于 Linux 的 Windows 子系统 测试版 它允许在 Wind
Linux
Windows
bash
PowerShell
windowssubsystemforlinux
如何使用 powershell 在 wsl 上运行 bash 脚本?
在 Windows 上的当前目录中 我有以下脚本文件 simple script sh bin bash echo hi from simple script 我希望通过 powershell 命令行在 wsl 上运行此脚本 使用wsl命令
bash
PowerShell
windowssubsystemforlinux
wsl2
从 WSL 选择 Python 解释器
我使用的是 Windows 10 并且希望将 Python 的默认 VSCode 解释器设置为与我的 WSL 2 Ubuntu 中使用的解释器相同 以便我始终使用 一个 Python 当我单击 选择 Python 解释器 时 会出现查找解释
VisualStudioCode
windowssubsystemforlinux
Windows 上的 Ubuntu 作为 VS Code 终端 - 可执行路径
有一个相关问题 https stackoverflow com q 44450218 2715716但它详细介绍了 WSL 的方法 在较新版本的 Windows 中 Linux 发行版不再是测试版 它们是通过 MS 应用商店提供的 在哪里可
VisualStudioCode
Windows
windowssubsystemforlinux
MongoDB Compass 与 WSL2 的问题
我在 WSL2 内的容器内运行了一个 MongoDB 实例 当我尝试在浏览器中执行请求时localhost 27017即使它显示错误 它仍然可以工作 因为我尝试使用 HTTP 协议访问数据库 但是当我尝试使用主机名 localhost 和端
Windows
MongoDB
windowssubsystemforlinux
wsl2
有没有办法让 VS code 与 git worktree 一起工作? (带有 WSL 的 Windows)
我喜欢在多个工作树中继续签出存储库git worktree轻松地同时在不同的分支上工作 然而 当 git 位于 git worktree 文件夹中时 VS code 似乎无法将 git 识别为 scm 我在文档中找不到有关此内容或扩展的任何
git
VisualStudioCode
windowssubsystemforlinux
gitworktree
无法在 Ubuntu Windows 上的 bash 上连接到 Docker 守护进程
我能够安装 docker docker compose 和 docker machine 但是当我尝试跑步时 root DESKTOP 51NFMIM docker ps Cannot connect to the Docker daemo
bash
Docker
windowssubsystemforlinux
如何在 WSL + VS Code 和 Docker 容器之间设置文件所有权?
我的问题是我不知道 也不理解 如何最好地配置主机和容器之间的文件所有权 我是一名前端开发人员 所以这超出了我的深度 主机 运行 WSL2 的 Windows 10 Ubuntu 20 04 LTS 使用 VS Code WSL 远程扩展 容
WordPress
Docker
VisualStudioCode
windowssubsystemforlinux
如何在 WSL 2 下运行 docker-compose
根据Docker 文档 https docs docker com docker for windows wsl tech preview 在 WSL v2 下使用 Docker 应该相当简单 安装 WSL 2 确保满足所有先决条件 安装
Docker
dockercompose
virtualmachine
windowssubsystemforlinux
wsl2
无法启动浏览器进程!/usr/bin/chromium-browser'需要安装 chromium snap
我正在尝试使用 puppeteer 的 api 它基本上有一个功能可以吸引我不和谐的用户 不太熟悉 puppeteer 所以介意我缺乏解释 做了一些研究并找到了一些解决方案 例如手动安装 chromium 这样做了 运行 puppeteer
nodejs
puppeteer
windowssubsystemforlinux
Linux 的 Windows 子系统上的 GNU Fortran 编译器 - 将内部函数传递给另一个过程时出现分段错误 [重复]
这个问题在这里已经有答案了 我相信以下是一个有效的 Fortran 2008 程序 它可以在使用 Intel 和 GNU Fortran 编译器的正版 macOS Linux 和 Windows 操作系统上正常运行 module Inter
Fortran
windowssubsystemforlinux
gfortran
如何从 WSL (Ubuntu) Bash 运行 Windows 可执行文件
随着Windows 10 周年更新2016 年夏天 有机会跑步ubuntu新的二进制文件适用于 Linux 的 Windows 子系统 WSL https blogs msdn microsoft com wsl 2016 04 22 wi
Linux
Windows
bash
Ubuntu
windowssubsystemforlinux
无法使用 VS 2022 调试 WSL2 - 无效的“cwd”值
我尝试在 Windows 中使用 VS 2022 IDE 从 WSL2 进行调试 但出现以下错误 cwd 值确实看起来错误 但如何修复它 我正在使用 netcore 6 0 101 Ubuntu 20 04 3 和 Windows 11 启
NetCore
windowssubsystemforlinux
wsl2
aspnetcore60
为什么从 Visual Studio 运行 .sh 脚本会打开该文件而不是运行它?
我正在尝试从 Windows 10 中运行的 Visual Studio Code 中运行 sh 脚本 该脚本本身应该在 Flask 中启动一系列单元测试 并且出于某种原因 无论我尝试什么 它都只会打开文件进行编辑而不是实际运行该文件 这是
bash
VisualStudioCode
windowssubsystemforlinux
wsl2
openAi-gym 名称错误
我正在尝试在 WSL 上使用 OpenAI 著名的 Gym 模块并在 python 3 5 2 上执行代码 当我尝试运行环境时正如这里所解释的 https gym openai com docs 使用代码 import gym env gy
python
python3x
NameError
windowssubsystemforlinux
openaigym
无法选择具有以下功能的设备驱动程序“”:[[gpu]]
我正在尝试在 WSL 2 上安装 Cuda 我按照以下说明进行操作this https ubuntu com blog getting started with cuda on ubuntu on wsl 2 执行完每个步骤后 我尝试通过执
Ubuntu
GPU
windowssubsystemforlinux
Airflow Scheduler 无法通过 WSL 执行 Windows EXE
我的 Windows 10 计算机在 WSL 2 Ubuntu 20 04 中安装了 Airflow 1 10 11 我有一个 BashOperator 任务 它在 Windows 上调用 EXE 通过 mnt c 或通过符号链接 任务失败
airflow
windowssubsystemforlinux
airflowscheduler
wsl2
Windows 上 Ubuntu 上的 Bash 上的 pem 文件权限
我尝试使用 pem 文件登录我的盒子 但收到错误消息 WARNING UNPROTECTED PRIVATE KEY FILE Permissions 0555 for arete server pem are too open It is
Windows
bash
windowssubsystemforlinux
带有 WSL2 的 VSCode - 由于 ping 无响应而延迟启动
将 VSCode 与 WSL2 结合使用 直到上周一切都很好 从今天开始 我观察到启动 WSL 需要时间 以下是 VSCode 的日志 2021 02 22 06 00 31 458 Resolving wsl myubuntu2004 r
VisualStudioCode
windowssubsystemforlinux
vscoderemote
wsl2
QEMU、无可启动设备、Linux 的 Windows 子系统
我正在学习如何构建基本的操作系统内核https intermezzos github io https intermezzos github io 我已经创建了我的 iso文件 我现在正在运行qemu system x86 64 cdrom
qemu
windowssubsystemforlinux
ipxe
«
1
2
3
4
5
6
»