扫码阅读
手机扫码阅读

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

178 2024-09-07

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

查看原文:【AI人工智能系列】1.环境搭建:阿里云服务器centos安装anaconda
文章来源:
小南瓜开发平台
扫码关注公众号
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.

想要了解更多内容?

查看原文:【AI人工智能系列】1.环境搭建:阿里云服务器centos安装anaconda
文章来源:
小南瓜开发平台
扫码关注公众号