pycharm基于wsl开发

概述

pycharm最新2022.3支持基于wsl2.0远程开发,爽歪歪

env

  • window11
  • wsl-2.0
  • pycharm-2022.3

install wsl

01 window11 安装wsl

02 下载openEuler-22.03/ubuntu(最新版本的py版本比较高)

在store商店搜索wsl

03 配置pip国内源

[bang@0201221459-NB ~]$ cat ~/.pip/pip.conf
[global]
trusted-host=mirrors.aliyun.com
index-url=http://mirrors.aliyun.com/pypi/simple/

[install]
disable-pip-version-check = true
timeout = 6000

[bang@0201221459-NB ~]$ python3 -V
Python 3.9.9

using-wsl-as-a-remote-interpreter

01 下载pycharm 2022.3版本

02 设置项目python解释器从wsl

posted @ 2023-01-25 13:46  mvpbang  阅读(211)  评论(0编辑  收藏  举报