基于arm64鲲鹏架构的JupyterLab cpp环境安装(一)

基于arm64架构的JupyterLab cpp环境安装(一)

本文首发于林克的编程小记:前往查看

在这里插入图片描述

1. 安装conda环境

由于miniconda和anaconda官方没有arm64版本的,在github上面有修改版的archiconda3

可以通过wget下载,全程根据提示安装

cd /usr/local/src
wget https://github.com/Archiconda/build-tools/releases/download/0.2.3/Archiconda3-0.2.3-Linux-aarch64.sh
chmod +x Archiconda3-0.2.3-Linux-aarch64.sh
./Archiconda3-0.2.3-Linux-aarch64.sh

导入环境变量

source ~/.bashrc

查看conda版本

conda --v

修改conda源为清华镜像源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
# 以上两条是Anaconda官方库的镜像

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
# 以上是Anaconda第三方库 Conda Forge的镜像

# for linux
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
# for legacy win-64
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123/
以上两条是Pytorch的Anaconda第三方镜像

conda config --set show_channel_urls yes

创建conda虚拟环境

conda create --name jupyter python
conda activate jupyter

2. 安装JupyterLab的准备

通过yum安装yum install zlib-devel openssl-devel sqlite-devel

3. 安装JupyterLab

安装

conda install jupyterlab
配置
jupyter notebook --generate-config
jupyter notebook password ##回车后输入两次密码
nohup  jupyter lab  --ip=0.0.0.0 --port=8888  --allow-root  &

继续查看第二节:基于arm64架构的JupyterLab cpp环境安装(二)

部分参考自鲲鹏社区:《Ubuntu安装Anaconda3》

《服务器完整搭建jupyter 科学环境服务》

插图来自:

Illustration by Freepik Stories

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

yrian.c

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值