Python Anaconda installation

Python is a cross-platform, high-level scripting language that combines interpretability, compilation, interactivity, and object-oriented, with simple and easy-to-use characteristics.

01

Python is born

Python was developed by the Dutchman Guido van Rossum in 1989. It is an inheritance of the ABC language. The name of Python comes from a TV series that Guido likes, "The Flight of Monty Parsons" From the Circus.

02

The rapid development of Python

Python began to grow linearly in 2004.

In my country, Python began to replace Java as the most popular language in colleges and universities in 2016.

2020 In October 2010, Python has firmly ranked third in the TIOBE world programming language rankings.

03

Why use Python for data analysis

  1. Python processing data advantages

Python has a large number of libraries that can provide a complete tool set (pandas, numpy, matplotlib, etc.) for data analysis, especially pandas, which is becoming the preferred library for data processing tasks in various industries.

  1. Python storage advantages

Python can easily read files in almost all current storage formats.

  1. Python can be combined with other languages

Python can easily interface with other languages, such as C, Java, etc.

  1. Python is free and open source

Because of this feature, Python libraries have been increasing, making the Python ecosystem more excellent.

Python

Anaconda installation

There are many IDEs for Python, such as professional pycharm, lightweight Sublime TXT, VScode, and very friendly Anaconda. This article introduces the installation of Anaconda.

01

Introduction to Anaconda

Anaconda is an open source Python distribution that also supports Windows, macOS, and Linux.

Anaconda has integrated a lot of third-party libraries, which can be used directly without additional installation.

There is also jupyter notebook IDE in Anaconda. This IDE is a web browser-based editor that can be used after opening, and the Python code can be divided into multiple blocks to run in a modular manner. Suitable for data processing, analysis, modeling, observation results, etc.

02

Anaconda installation package

The Anaconda installation package can be downloaded directly from the official website, but the official website server is set up abroad, so the download speed will be particularly slow.

If domestic friends want to download, they can download through the domestic Tsinghua mirror website. Below are the official website and the Tsinghua mirror URL.

Official website address:

https://www.anaconda.com/products/individual

Tsinghua mirror address:

https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

You can choose the download method according to your own situation, and it is recommended to choose anaconda3 to download and install.

For installation steps, please refer to step 3 for win computers and step 5 for Mac computers.

03

Win system installation process

  1. Open the anaconda installation package, the link is in the previous step, please choose to download

  1. Click next after opening the installation package

  1. Choose to install for yourself

  1. Select the installation location, the default is OK

  1. Check two options

The first option is to add anaconda to the environment variables, and the second is to install the latest Python version

  1. Wait for the progress bar to complete (about five minutes)

  1. Various next plus finish

The installation is complete

04

win start jupyter notebook

  1. Open DOS (cmd)

  1. Enter conda

  1. Enter jupyter notebook in dos

05

Mac computer installation process

  1. Open the installation package

  1. Click on various continue and overlord clauses

  1. Wait for the progress bar to complete

After the installation is over, open the application and you will find the following icon

And the word base will appear in the terminal

06

Mac start jupyter notebook

Open the terminal and enter jupyter notebook and press Enter to open

07

to sum up

The installation of Anaconda is relatively simple, but different problems will occur because of the different computers installed. If you have any problems other than the following, please leave a message in the discussion section below and let's solve it together.

be careful:

Win:

  1. It is not recommended to change the path, the change of the path may cause problems in later use

  2. If win does not modify the default path, but open dos and enter conda and report an error, please check the number of files in the installation directory. If it is less than 70, it means there is a problem with the installation. Please click uninstall-anaconda.exe in the directory to uninstall and reinstall

  3. Enter jupyter notebook in dos. If you can’t open the browser automatically, please browse and follow me in the discussion area below, and there will be a solution to this problem later.

Mac:

  1. It has been installed, but an error is reported when entering jupyter notebook. In this case, please check whether the current terminal mode is bash. If not, use chsh -s /bin/bash to switch. Switching requires restarting the terminal.

Recommended Posts

Python Anaconda installation
Python - centos6 installation
Centos source installation Python3
Python introduction and environment installation
Anaconda introduction and Ubuntu/windows installation Anaconda
ubuntu view python installation path
Python version of OpenCV installation
Python installation impala package steps
ubuntu offline installation python environment
Python devel installation failure problem solution
Ubuntu18.04 installation Anaconda3 and VSCode guide
Installation of python common libraries under windows
Python multithreading
Python CookBook
How to verify successful installation of python
Python3 dictionary
Python3 module
python (you-get)
Python string
Python basics
Python descriptor
Python basics 2
Python exec
Python notes
Python3 tuple
CentOS + Python3.6+
Python advanced (1)
Python decorator
Python IO
Python multithreading
Python toolchain
Python3 list
Python overview
python introduction
MXNet-Ubuntu installation
Centos python3 compile installation and compile gcc upgrade
Python analytic
Python basics
07. Python3 functions
Python basics 3
Python multitasking-threads
Python functions
python sys.stdout
python operator
2019-07-09 CentOS7 installation
Python entry-3
centos7_1708 installation
Centos 7.5 python3.6
Python string
python queue Queue
Where is the directory after python installation
Python basics 4
Python basics 5