File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed
Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 44
55- [ CPP] ( ./cpp.md )
66- [ Go] ( ./go.md )
7-
7+ - [ Python ] ( ./python.md )
88- [ Copilot in Visual Studio Code] ( ./Copilot.md )
Original file line number Diff line number Diff line change 1+ ### Python
2+
3+
4+ #### WSL配置conda
5+ ``` shell
6+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
7+ sudo chmod 777 Miniconda3-latest-Linux-x86_64.sh
8+ ./Miniconda3-latest-Linux-x86_64.sh
9+
10+
11+ echo " export PATH=${HOME} /miniconda3/bin/conda:$PATH " >> ~ /.bashrc
12+
13+ # 创建虚拟环境
14+ conda create -n env_name python=3.6
15+ # 进入该虚拟环境
16+ conda activate env_name
17+ # 退出该虚拟环境
18+ conda deactivate env_name
19+ conda install package_name
20+ ```
21+
22+
23+
24+
25+ #### 参考资料
26+ + [ 《win10+wsl2+vs code+python平台搭建笔记》] ( https://zhuanlan.zhihu.com/p/394535900 )
Original file line number Diff line number Diff line change 1+ print ("Hello World" )
You can’t perform that action at this time.
0 commit comments