wsl 安装jupyter_在Windows子系统linux wsl2中配置jupyter笔记本

本文档翻译自一篇教程,详细介绍了如何在Windows子系统Linux (WSL) 2环境下安装和配置Jupyter Notebook,为Python开发提供集成的工作环境。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

wsl 安装jupyter

I am going to explain how to configure Windows 10 and Miniconda to work with Notebooks using WSL2

我将解释如何配置Windows 10和Miniconda以使用WSL2Notebooks一起使用

We are going to see how to:

我们将看到如何:

  1. Install and configure a WSL2

    安装和配置WSL2
  2. Install and configure Windows Terminal

    安装和配置Windows Terminal
  3. Install Miniconda and common libraries

    安装Miniconda和公共库
  4. Launch Jupyter Lab/Notebook

    启动Jupyter Lab /笔记本
  5. Install GUI and Remote Desktop to WSL2 to lunch GUI required like Spyder or Anaconda Navigator

    将GUI和远程桌面安装到WSL2,以午餐所需的GUI,例如Spyder或Anaconda Navigator
  6. Some helpful resources

    一些有用的资源

首先,安装WSL2 (First, install WSL2)

Windows Sub System Linux (WSL2) was available in Windows 10 version 2004 in May 2020. If you don’t have It, then install a Ubuntu distribution following the instructions in https://docs.microsoft.com/en-us/windows/wsl/install-win10

2020年5月,Windows 10版本2004中提供了Windows子系统Linux(WSL2)。如果没有,请按照https://docs.microsoft.com/zh-cn/windows中的说明安装Ubuntu发行版。 / wsl / install-win10

Image for post
Image for post

I recommend installing Windows Terminal from the Microsoft Store instead of using the default Ubuntu terminal because that allows you to have multiple terminals in the same window.

我建议从Microsoft Store安装Windows Terminal ,而不要使用默认的Ubuntu终端,因为这样可以使您在同一窗口中拥有多个终端。

To edit Linux files is also more comfortable with Sublime Text or Notepad++ from Windows Explorer using the path: \\wsl$\

要编辑Linux的文件也更舒适使用路径崇高文本或记事本++从Windows资源管理器:\\ WSL $ \

You can browse and edit Ubuntu files from your Window:

您可以从Window浏览和编辑Ubuntu文件:

Image for post

And change the default Profile to open to Ubuntu terminal opening Settings file and changing the value of defaultProfile with the Ubuntu guide:

并更改默认配置文件以打开Ubuntu终端,打开设置文件并使用Ubuntu 指南更改defaultProfile的值:

Image for post
Image for post
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值