Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why do you install Anaconda when learning Python?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly shows you "Why to install Anaconda when learning Python", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Why to learn Python to install Anaconda" this article.

Why do you need Anaconda?

(1) Anaconda comes with a large number of commonly used data science packages, including conda, Python and more than 150 science packages and their dependencies. So you can start processing the data immediately.

(2) Anaconda is developed on 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) Why does the management environment need to be managed? For example, if you use Python2 in Project A, while the new project B boss requires Python 3, and installing two Python versions at the same time may cause a lot of confusion and errors. At this point, conda can help you build different operating environments for different projects. There are many projects that use different versions of the package, such as different pandas versions, so it is impossible to install two Numpy versions at the same time. What you should do is to create an environment for each Numpy version, and then work in the corresponding environment of the project. Conda can help you do this.

How do I install Anaconda?

Step 1: search your browser for https://www.continuum.io/downloads and download the Python3.X version instead of the Python2.X version. Because the syntax of versions 2 and 3 is different, and the version update must be optimized. The Python2.X version will retire on April 12, 2020. No maintenance will be carried out after retirement.

Step 2: according to your computer choice is 64-bit or 32-bit download and installation (now it is usually 64-bit) to see whether your computer is 32-bit or 64-bit (usually 64-bit). After downloading, double-click the installation. The following figure shows the viewing method:

Step 3: manually configure the anaconda environment variable. Find the Anaconda you just installed, find the Scripts, and double-click to open it. Click the path location, and then copy the path. Configure environment variables (take the win7 version operation plan as an example). Right-click my computer and click on the lower right corner to change the settings:

Do the following in the pop-up window:

Locate Path:

Double-click the blue area:

Copy the previous path at the end of this string of text, separating it from the previous one with an English semicolon:

Then click multiple OK, open cmd, and type jupyter notebook:

And then you installed it successfully! As for why not download the Python installation package on the Python official website? Because Anaconda is the integrated environment of Python. When installed, bring a lot of your commonly used packages with you, and you can import them directly when you use them. You don't have to install them one by one.

The above is all the contents of the article "Why do you install Anaconda when you learn Python?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report