【AI人工智能系列】1.环境搭建:阿里云服务器centos安装anaconda

Anaconda Conda Python Miniconda root
发布于 2024-09-07
930

我们非常重视原创文章,为尊重知识产权并避免潜在的版权问题,我们在此提供文章的摘要供您初步了解。如果您想要查阅更为详尽的内容,访问作者的公众号页面获取完整文章。

扫码阅读
手机扫码阅读
Conda, Miniconda, and Anaconda Relationship Summary

Conda, Miniconda, and Anaconda Relationship Summary

The article provides a comprehensive guide on the relationship between Conda, Miniconda, and Anaconda, which are Python package managers. It also includes step-by-step instructions for installing Anaconda and configuring the environment.

Installation Steps

  1. Download Anaconda using the provided wget command.
  2. Check the OS version before installation and install necessary libraries for RedHat/CentOS.
  3. Execute the installation script for Anaconda and follow prompts to agree to the license, confirm the installation location (default path recommended), and initialize Anaconda3.
  4. Verify the installation by checking the Anaconda version with conda -V.

Environment Configuration

Post-installation, add Anaconda to the environment variable PATH by editing /etc/profile or /etc/bashrc and appending the Anaconda binary directory to the PATH.

Testing and Notes

Test the installation by running python3 in the terminal and observing the Anaconda version information. The article also notes that during installation, the base environment is set to activate automatically on terminal launch, which can be disabled using conda config --set auto_activate_base false.

Differences between Conda, Miniconda, and Anaconda

  • Conda: A package manager and distribution that includes most core Python packages and many other tools, allowing package management across different environments.
  • Miniconda: A lightweight version of Conda, including only the essential packages and tools but capable of installing other packages through Conda.
  • Anaconda: A complete Python distribution with Conda and all necessary packages pre-installed, offering extensive community support and resources.

In conclusion, Conda, Miniconda, and Anaconda are popular package managers in Python with distinct features and advantages, suitable for various needs and preferences.

小南瓜开发平台

南瓜树基础能力低代码平台,助力中小企业进行数字化转型

152 篇文章
浏览 128.6K

还在用多套工具管项目?

一个平台搞定产品、项目、质量与效能,告别整合之苦,实现全流程闭环。

加入社区微信群
与行业大咖零距离交流学习
PMO实践白皮书
白皮书上线