云服务器安装python推荐算法运行环境(安装conda)

1、直接安装conda(可直接装好python和pip,一步到位)
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-py38_4.8.3-Linux-x86_64.sh
bash Miniconda3-py38_4.8.3-Linux-x86_64.sh
export PATH="【conda安装的位置】/bin:$PATH"
 
#使用前置代理服务器的方式:
wget -e "https_proxy=https://10.99.202.82:3128" https://cmake.org/files/v3.14/cmake-3.14.5.tar.gz --no-check-certificate
pip --proxy="http://root:NoywkI21Sx0@10.99.202.82:3128" install xgboost -i https://pypi.mirrors.ustc.edu.n/simple/

参考博客:

https://blog.csdn.net/weixin_43850253/article/details/121178785?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~aggregatepage~first_rank_ecpm_v1~rank_v31_ecpm-1-121178785.pc_agg_new_rank&utm_term=%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E5%AE%89%E8%A3%85conda&spm=1000.2123.3001.4430

posted @ 2021-12-30 17:56  The-Chosen-One  阅读(210)  评论(0编辑  收藏  举报