1.安装包发送到服务器
2.bash Anaconda3-4.3.1-Linux-x86_64.sh 报错
-bash: bash: command not found
根据博客https://blog.csdn.net/qq_26442553/article/details/79183260
执行
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
3.按enter,输入yes,在输入yes成功
4.输入conda --version报错
-bash: conda: command not found
根据博客https://www.cnblogs.com/roscangjie/p/10690203.html
运行命令export PATH=~/anaconda3/bin:$PATH
5.成功
6.创建虚拟环境
conda create --name videoEnv python=3.7
一般来说不会出问题,但是这次报错PackageNotFoundError: Package not found: Conda could not find ’
根据博客https://github.com/pytorch/pytorch/issues/9120
执行命令conda install -c anaconda mkl
7.尝试用git下载代码,提示没有git,运行命令apt-get install git
下载git
增加代理 git config --global http.https://github.com.proxy http://代理
取消代理:git config --global --unset http.https://github.com.proxy
下载代码 git clone 代码地址
ununtu安装anaconda
最新推荐文章于 2023-04-25 20:45:05 发布