You can support us by donate in the link: https://qntdata.com/qt-donationAnaconda Embedded: https://docs.anaconda.com/anaconda-embedded/Anaconda Commercial Edition: https://docs.anaconda.com/anaconda-commercial/Anaconda Team Edition: https://team-docs.anaconda.com/en/latest/Anaconda Enterprise 5: https://enterprise-docs.anaconda.com/en/latest/
Features of Anaconda
– Building a machine learning model (Machine Learning)
More than 250 most commonly used open source data science packages and machine learning models are automatically installed when you download Anaconda Individual Edition.
Machine Learning model can be easily developed with Anaconda
– Wide open source community
With Anaconda Individual Edition, the open source world is yours. Technical word Robotics come Data Visualization, you can access the open source software you need for projects in any field
Access to open source software
– Easy to use interface
Anaconda Navigator is a desktop GUI included with Anaconda Individual Edition. It provides the user with a graphical user interface for managing environments (environments) and packages, making it easy to launch applications and manage packages and environments without using the command line. .
Anaconda Navigator gives you easy access to documentation and community resources.
Anaconda Navigator interface
– Add more virtual environment
Anaconda not only provides an easy to use programming interface, but also adds a virtual environment. This environment helps users to install packages, if there is a conflict, it will not affect the machine, you can customize the virtual environment on / off.
Anaconda adds virtual environment
Review the system requirements listed below before installing Anaconda Individual Edition. If you don’t want the hundreds of packages included with Anaconda, you can install Miniconda, a mini version of Anaconda that includes just conda, its dependencies, and Python.
- License: Free use and redistribution under the terms of the EULA for Anaconda Individual Edition.
- Operating system: Windows 8 or newer, 64-bit macOS 10.13+, or Linux, including Ubuntu, RedHat, CentOS 7+, and others.
- If your operating system is older than what is currently supported, you can find older versions of the Anaconda installers in our archive that might work for you. See Using Anaconda on older operating systems for version recommendations.
- System architecture: Windows- 64-bit x86, 32-bit x86; MacOS- 64-bit x86; Linux- 64-bit x86, 64-bit aarch64 (AWS Graviton2 / arm64), 64-bit Power8/Power9, s390x (Linux on IBM Z & LinuxONE).
- Minimum 5 GB disk space to download and install.
On Windows, macOS, and Linux, it is best to install Anaconda for the local user, which does not require administrator permissions and is the most robust type of installation. However, if you need to, you can install Anaconda system wide, which does require administrator permissions.
- Installing on Windows
- Installing on macOS
- Installing on Linux
- Installing on Linux-aarch64 (arm64)
- Installing on AWS Graviton2 (arm64)
- Installing on Linux-s390x (IBM Z)
- Installing on Linux POWER
- Installing in silent mode
- Installing for multiple users
- Verifying your installation
- Anaconda installer file hashes
- Updating from older versions
- Uninstalling Anaconda
Silent mode install
You can use silent mode to automatically accept default settings and have no screen prompts appear during installation.
Using Anaconda on older operating systems
We recommend upgrading your operating system. Most OS that are no longer supported in the latest Anaconda are no longer getting security updates. Upgrading your OS allows you to get the latest packages, performance improvements, bug fixes, etc.
To use Anaconda on older operating systems, download from our archive. You will not be able to use conda to update or install packages beyond the Anaconda version noted in the table below, unless you limit it to versions available at the time that particular version of Anaconda was released. You can see what was available by checking the package table archives.
|Operating system||How to install Anaconda|
|macOS 10.10-10.12; Windows 7||Use the command line or graphical installers for Anaconda versions 2019.10 and earlier. Download from our archive.|
|macOS 10.9||Use the command line or graphical installers for Anaconda versions 5.1 and earlier.
Qt and other packages released after Anaconda Distribution 5.1 (February 15th, 2018) may not work on macOS 10.9, so it may be necessary to not update certain packages beyond this point.
|macOS 10.7 and 10.8||Use the command line installers for Anaconda versions 4.2 and earlier.|
|macOS 10.5 and 10.6||Use the command line installers for Anaconda versions 1.8 and earlier.
These installer files end in .sh, not .pkg.
|Windows XP||Use Anaconda versions 2.2 and earlier.|
|Centos6 (or equivalent)||Use Anaconda versions 2020.11 and earlier.|
|Centos5 (or equivalent)||Use Anaconda versions 4.3 and earlier.|
Installing Anaconda on a non-networked machine (air gap)
- Obtain a local copy of the appropriate Anaconda installer for the non-networked machine. You can copy the Anaconda installer to the target machine using many different methods including a portable hard drive, USB drive, or CD.
- After copying the installer to the non-networked machine, follow the detailed installation instructions for your operating system.
You can install offline copies of both docs.anaconda.com and enterprise-docs.anaconda.com by installing the conda package anaconda-docs: conda install anaconda-docs
You can install offline copies of documentation for many of Anaconda’s open-source packages by installing the conda package anaconda-oss-docs: conda install anaconda-oss-docs
Other ways to get Anaconda or Miniconda
You can find the official Anaconda or Miniconda AMIs on the AWS Marketplace.
You can find the official Anaconda and Miniconda Docker images on Docker Hub.
If you have a CDH cluster, you can install the Anaconda parcel using Cloudera Manager. The Anaconda parcel provides a static installation of Anaconda, based on Python 2.7, that can be used with Python and PySpark jobs on the cluster.
Getting started with Anaconda
Conda works on your command line interface such as Anaconda Prompt on Windows and terminal on macOS and Linux.
Navigator is a desktop graphical user interface that allows you to launch applications and easily manage conda packages, environments, and channels without using command-line commands.
You can try both conda and Navigator to see which is right for you to manage your packages and environments. You can even switch between them, and the work you do with one can be viewed in the other.
When you’re done, see What’s next?.
Your first Python program: Hello, Anaconda!
Use Anaconda Navigator to launch an application. Then, create and run a simple Python program with Spyder and Jupyter Notebook.
Choose the instructions for your operating system.
From the Start menu, click the Anaconda Navigator desktop app.
Open Launchpad, then click the Anaconda Navigator icon.
Open a terminal window and type anaconda-navigator.
Run Python in Spyder IDE (integrated development environment)
Navigator’s Home screen displays several applications for you to choose from. For more information, see links at the bottom of this page.
- On Navigator’s Home tab, in the Applications pane on the right, scroll to the Spyder tile and click the Install button to install Spyder.
If you already have Spyder installed, you can jump right to the Launch step.
- Launch Spyder by clicking Spyder’s Launch button.
- In the new file on the left, delete any placeholder text, then type or copy/paste print(“Hello Anaconda”).
- In the top menu, click File – Save As and name your new program hello.py.
- Run your new program by clicking the triangle Run button.
- You can see your program’s output in the bottom right Console pane.
From Spyder’s top menu bar, select Spyder – Quit Spyder (In macOS, select Python – Quit Spyder).
Run Python in a Jupyter Notebook
- On Navigator’s Home tab, in the Applications pane on the right, scroll to the Jupyter Notebook tile and click the Install button to install Jupyter Notebook.
If you already have Jupyter Notebook installed, you can jump right to the Launch step.
- Launch Jupyter Notebook by clicking Jupyter Notebook’s Launch button.
This will launch a new browser window (or a new tab) showing the Notebook Dashboard.
- On the top of the right hand side, there is a dropdown menu labeled “New”. Create a new Notebook with the Python version you installed.
- Rename your Notebook. Either click on the current name and edit it or find rename under File in the top menu bar. You can name it to whatever you’d like, but for this example we’ll use MyFirstAnacondaNotebook.
- In the first line of the Notebook, type or copy/paste print(“Hello Anaconda”).
- Save your Notebook by either clicking the save and checkpoint icon or select File – Save and Checkpoint in the top menu.
- Run your new program by clicking the Run button or selecting Cell – Run All from the top menu.
Close Jupyter Notebook
- From Jupyter Notebooks top menu bar, select File – Close and Halt.
- Click the Quit button at the upper right of the Notebook Dashboard and close the window or tab.
From Navigator’s top menu bar, select Anaconda Navigator – Quit Anaconda-Navigator.
Write a Python program using Anaconda Prompt or terminal
Open Anaconda Prompt
Choose the instructions for your operating system.
From the Start menu, search for and open “Anaconda Prompt”:
Open Launchpad, then click the terminal icon.
Open a terminal window.
At Anaconda Prompt (terminal on Linux or macOS), type python and press Enter.
The >>> means you are in Python.
Write a Python program
At the >>>, type print(“Hello Anaconda!”) and press Enter.
When you press enter, your program runs. The words “Hello Anaconda!” print to the screen. You’re programming in Python!
On Windows, press CTRL-Z and press Enter. On macOS or Linux type exit() and press Enter.
Optional: Launch Spyder or Jupyter Notebook from the command line
- At the Anaconda Prompt (terminal on Linux or macOS), type spyder and press Enter. Spyder should start up just like it did when you launched it from Anaconda Navigator.
- Close Spyder the same way you did in the previous exercise.
- At the Anaconda Prompt (terminal on Linux or macOS), type jupyter-notebook and press Enter.
Jupyter Notebook should start up just like it did when you launched it from Anaconda Navigator. Close it the same way you did in the previous exercise.
Basic usage by command
When using Anaconda, you just need to remember the following basic commands:
– Create new environment
conda create –name ten_moi_truong python==X.X
With X.X being the Python version you want to install in the environment.
For example, to create an environment named “tvy Python 3.7”, I use:
conda create –name tvy python=3.7
Create environment named tvy
– Launch and exit the environment
+ Launch environment:
Command: conda activate ten_moi_truong
+ Exit running environment:
Command: conda deactivate
– Check Python version in virtual environment
Command: python –version
Check Python Version
– Install packages
To install the library you have 2 ways:
+ Method 1: Through Python available in the environment
Command: pip install ten_thu_vien
+ Option 2: Via conda
Command: conda install ten_thu_vienBuy us some coffee
Thank You for your support as we work to give you the best of guides and articles.