实在不行 源码安装
安装conda
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
./conda init
conda install mammba -c conda-forge -c bioconda
安装mamba
# curl micro.mamba.pm/install.sh | bash
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
./bin/micromamba shell init -s bash -p /mambaforge/
source ~/.bashrc
# mamba操作
micromamba activate # this activates the base environment
micromamba install python=3.10 jupyter -c conda-forge
# or
micromamba create -n env_name xtensor -c conda-forge
micromamba activate env_name
使用源码编译安装失败之后,使用conda安装r,成功!
Managing R and RStudio with condaHoping to help level out the steep learning curve