RK3588—安装Linux系统以及环境配置
neardi RK3588—安装Linux系统
一、安装linux系统
二、其他问题
(1)无法读取U盘
sudo chmod 777 /media/<username>/
(这里是 sudo chmod 777 /media/neardi/)
(2)pip3 安装
sudo apt-get install python3-pip
(3)firefox安装
sudo apt-get install firefox
(4)anaconda安装
由于一开始不知道是aarch64的,所以下载错误。
·查看架构类型:
uname -m
·安装对应的anaconda:
下载好后 安装:
bash /home/<username>/Downloads/Archiconda3-0.2.3-Linux-aarch64.sh
·配置环境:
vim ~/.bashrc
在最后添加两行:
export PATH="/home/<username>/archiconda3/bin:$PATH" export PATH="/home/<username>/archiconda3/condabin:$PATH"
(注:这里安装的archiconda )
退出后:
source ~/.bashrc
(5)用conda配置python3.8环境
conda create --name <yourname> python=3.8
·激活conda环境:
conda activate <yourname>
可能会出现报错:you shell has not been properly ... 'conda activate'
解决方法:
source activate
conda deactivate
此时
conda activate <yourname>
·配置torch、tensorflow、torchvision、mxnet等:
pip install -i https://mirrors.aliyun.com/pypi/simple/ torch==1.10.0 pip install -i https://mirrors.aliyun.com/pypi/simple/ torchvision==0.11.1 pip install -i https://mirrors.aliyun.com/pypi/simple/ mxnet==1.6.0 pip install -i https://mirrors.aliyun.com/pypi/simple/ tensorflow==2.10.0