提问人:Abijah 提问时间:11/15/2023 更新时间:11/15/2023 访问量:10
Attept 通过 jupyter 访问 wsl
Attept to access wsl via jupyter
问:
我正在 jupyter 笔记本中编写 bash 命令,通过 Anaconda 安装在 Windows 10 机器上,我想用它来运行 wsl 上的 Python 程序并从 Python 程序收集结果,但目前,我什至无法让它打印工作目录。
!wsl cd /mnt/d && pwd
奇怪的是给出错误
“pwd”不被识别为内部或外部命令, 可操作的程序或批处理文件。
为什么? 你能帮我通过WSL命令让PWD工作吗?
答: 暂无答案
评论
!wsl cd /mnt/d -e pwd