Beginner python self-taught anaconda correct posture

Source: Internet
Author: User
Tags jupyter jupyter notebook

In fact, Anaconda and Jupyter notebook have become the standard environment for data analysis.

Simply put, Anaconda is the package Manager and Environment Manager, Jupyter notebook can combine the code, images, and documents of data analysis into a single Web document.

Next I introduce the next anaconda in detail, and at the end give Jupyter notebook:

What is 1.Anaconda?

2. How to install?

3. How do I manage packages?

4. How do I manage the environment?

5.Jupyter notebook How to get started quickly?

What is 1.Anaconda?

Anaconda refers to an open source Python release that contains more than 180 science packages, including Conda, Python, and their dependencies. [1] because it contains a large number of science packages, Anaconda download file is larger (about 515 MB), if only some packages, or need to save bandwidth or storage space, you can also use Miniconda this small release (Conda and Python only).

You may already have Python installed, so why do you need Anaconda? There are 3 reasons for this:

1) Anaconda comes with a large number of common data science packages that come with Conda, Python, and more than 150 science packs and their dependencies. So you can start processing data immediately.

2) Management Pack

Anaconda is developed on the Conda (a Package Manager and Environment manager).

In data analysis, you will use a lot of third-party packages, and Conda (Package Manager) can help you install and manage these packages on your computer, including installing, uninstalling, and updating packages.

3) Management environment

Why do we need to manage the environment?

For example, if you use Python 2 for a project, and the new Project B boss requires Python 3, installing two versions of Python at the same time can cause a lot of confusion and errors. This time Conda can help you build different environments for different projects.

There are also many projects using different package versions, such as different pandas versions, it is not possible to install two Numpy versions at the same time, you should do is to create an environment for each Numpy version, and then work in the corresponding environment of the project. This time Conda can help you do it.

2. How do I install anaconda?

The Anaconda can be used on multiple platforms (Windows, Mac OS X, and Linux). You can find the installation program and installation instructions at the address below. Depending on whether your operating system is 32-bit or 64-bit select the corresponding version to download.

(Anaconda already does not support Windows XP, and see if your computer is 32-bit or 64-bit, don't install the wrong one.) )

Website address: https://www.anaconda.com/download/#windows

The download file for Anaconda is larger (approximately MB) because it comes with the most common data science package in Python.

If Python is already installed on your computer, the installation will not have any effect on you. In fact, the default Python used by scripts and programs is Python that comes with Anaconda.

Note: If you are a Windows 10 system, be aware that when installing Anaconda software, right-click Install software → select Run as Administrator.

After the installation is complete, if you are working on Windows, follow the figure below to open Anaconda Prompt (or the terminal under MAC) and I'll call Anaconda Prompt unification "Terminal" later.

Note: If you are a Windows 10 system, press the action

If the WIN10 system does not operate as described above, the following error message is reported:

You can type Conda list at a terminal or command prompt to see what you have installed.

Beginner python self-taught anaconda correct posture

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.