记录在安装MobaXterm11.0中miniconda的安装——环境搭建

安装miniconda的代码

 wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh

bash Miniconda3-latest-Linux-x86_64.sh

再更新一下conda

conda update conda

conda update --all

conda install jupyter notebook pandas matplotlib netcdf4 holoviews geoviews

 

安装TensorFlow

我习惯直接安装gpu版的

conda install tensorflow-gpu

这样会直接安装cuda相关的包还有其他的相关包

 

安装torch的代码(重点)

pip install --upgrade torch

pip install --upgrade torchvision

这样会比较简单,就是下载的比较久

 

在CSDN上看见其他人分享jupyter lab,也安装了一下试试

先安装nodejs

conda install -c conda-forge nodejs

然后

pip install ipython(可能不用)

 

pip install jupyterlab

或者

conda install -c conda-forge jupyterlab

 

conda update jupyter_core jupyter_client

 

可以进行一下配置,不过我习惯直接用

参考:https://lyric.im/c/the-craft-of-selfteaching/T-appendix.jupyter-installation-and-setup

再安装jupyter lab的扩展插件,大家似乎都推荐这个,可以用来试试

jupyter labextension install @jupyterlab/toc

 

打开就直接输入

jupyter lab

 

再补充一份参考资料\(^o^)/~

https://juejin.im/post/5c933e6d6fb9a070af219006

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值