CentOS 7安装Anaconda

1. CentOS 7直接下载的 Anaconda(无需手动上传)

wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh

2. 安装

bash Anaconda3-2023.09-0-Linux-x86_64.sh

3. 重新打开新界面,自动生效

或者

source ~/.bashrc

安装过程注意事项

  1. 一路按 Enter

  2. 提示协议,输入yes

  3. 路径直接回车默认

  4. 最后提示 Do you wish the installer to initialize Anaconda3?

输入yes

验证是否成功

conda --version

python --version

永久配置 pip 清华源

复制代码
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

验证是否配置成功

复制代码
pip config list

anaconda使用方法

conda create -n ai python=3.12

conda activate ai

conda deactivate

conda remove -n ai --all

相关推荐
万笑佛22 分钟前
Python 实现Kafka SASL认证生产消费
python
JackieZhengChina28 分钟前
零依赖轻量级JS悬浮提示插件title2tip-js的使用教程
开发语言·javascript·ecmascript
李永奉2 小时前
杰理可视化SDK开发-【BUG】配置“TWS两边同时按消息使能”功能后,按键单击功能无效失灵
开发语言·单片机·嵌入式硬件·物联网·bug
m0_617493942 小时前
Python OpenCV 透视变换(Perspective Transform)详解与实战
开发语言·python·opencv
小李不困还能学2 小时前
PyCharm下载安装与配置教程
ide·python·pycharm
程序猿编码2 小时前
用C++从零开始造一个微型GPT,不借助任何第三方库
开发语言·c++·gpt·模型推理
博观而约取厚积而薄发2 小时前
Pytest 从入门到精通,一篇就够(超详细实战教程)
python·测试工具·单元测试·自动化·pytest
imzed2 小时前
使用 Playwright + Pytest 构建 Web UI 自动化测试框架
python·自动化·pytest
普通网友2 小时前
pytest一些常见的插件
开发语言·python·pytest