Create a comfortable Python 3 (Anaconda) development environment on windows

Introduction

If you need the C / C ++ version I wrote, please refer to it I think there are many people who want to build a development environment on Windows. Therefore, I would like to create a development environment. The version I tried is Windows 10. [I don't need an explanation for Anaconda. Click here if you want to see how to install and get started quickly](# anaconda installation procedure)

From time to time, we will add images and modify the text. If you have any problems, typographical errors, or advice, please let us know in the comments.

What to put

Use anaconda (Python3) instead of raw Python3.

What is anaconda?

Merit 1

Python3 is a programming language. [^ 1] However, I think there are many readers who want to use it for deep learning and scientific calculations. They can't be done with Python 3 alone. [^ 2] ** However, with anaconda, you already have what you need, such as matrix calculation (numpy), scientific calculation (scipy), libraries useful for data management (pandas), and machine learning (scikit-learn). ** ** That's very convenient.

Merit 2

Python itself is software, so we update it regularly. ** Anaconda allows you to have multiple versions. [^ 3] This caused the library to stop working after updating! It's a hassle to update! Something should be reduced. ** **

Anaconda installation procedure

download

Access the official website After accessing, scroll to the figure below. After that, click [^ 4] "64-Bit Graphical Installer" painted in yellow [^ 5]. 1a.PNG This completes the download.

Installation

** Click "Anaconda3-Honyara-Windows-x86_64". ** (Honyara will be dated. In my case it was "2020.7". Don't worry if it's different) 2a.PNG Double-clicking will bring up a screen like this (I don't care if "2020.7" is different (ry). ** Press "Next>". ** 3.PNG

Click to open the software license agreement [^ 6]. Read it carefully. ~~ (Eh? English is difficult? Ask other people about English, I can't do it either (quivering)) ~~. [^ 7] ** Press "I Agree" to proceed. ** ** 4.PNG

Unless you do something special, I think it's okay to proceed without changing any settings. ** Press "Next>". ** ** 5.PNG

Select the installation destination. Personally, when setting up online articles, it is difficult to change the installation destination, so it is recommended not to change it. (The black part is your Windows user name) After that, you need to be careful because you need a lot of capacity. ** Press "Next>". ** ** 6.PNG

** "Add Anaconda3 to my PATH environment variable" is deprecated, but if you are new to it, we recommend checking it out. ** [^ 8] I think "Register Anaconda3 as my default Python 3.8" can be left as it is. ** Press "Next>". ** ** It took about 5 minutes to install in my environment. 8.PNG

Installation is complete when this screen appears. ** Press "Next>". ** ** 9.PNG

If you check the two items, the web page will open in your browser when you close them. If it is troublesome, you can remove it. ** Press "Finish". ** ** 10.PNG

A shout of Python at the center of the command prompt

Now, the installation of Anaconda is complete. Command prompt5.PNG To start

python --version

I will try to enter. If it works,

Python 3.8.3

Is output. (The number part is a version, so it may be different, but don't worry) If it fails

'python'Is an internal or external command,
It is not recognized as an operable program or batch file.

Do you come out The Microsoft Store page will pop up and recommend installing Python. In this case, the PATH may not be available or the installation may have failed. Make sure that you have checked "Add Anaconda3 to my PATH environment variable", uninstall it, and then check "Add Anaconda3 to my PATH environment variable" to reinstall Anaconda.

At the end

Thank you for your hard work. You can now use the libraries installed in Python 3 and Anaconda.

What you can do next

[^ 1]: To be exact, it's called a language processing system, but don't worry about it for the time being. [^ 2]: On the contrary, those who can implement efficient matrix calculation, scientific calculation and neural network by themselves do not need to read this article. [^ 3]: Please be assured that you can prepare multiple versions of the same version. [^ 4]: Only the 32-bit version may work on older PCs, but I think it's okay on current PCs in principle. Personally, I think it is difficult to use Python on a 32-bit computer in terms of performance, but you can download the 32-bit version by clicking "32-Bit Graphical Installer" below. [^ 5]: The file size may have changed due to version upgrade, but you don't have to worry about it. Please be careful about the amount of communication when tethering. [^ 6]: I'm worried if it's this name. If you are familiar with this, please let us know in the comments. [^ 7]: It looks like a BSD License, so you may want to look at the secondary information in the Japanese article. However, there are several types of BSD Licenses, and the credibility of the secondary information may be questionable. [^ 8]: If you select this option, it seems that Python other than Anaconda that you installed in advance and not installed this time may be broken, or Python that you install in the future may not work. ** However, if you do not check it, you will have to add Anaconda's PATH by yourself, which is difficult. ** **

Recommended Posts

Create a comfortable Python 3 (Anaconda) development environment on windows
Create a Python virtual development environment on Windows
Build a GVim-based Python development environment on Windows 10 (3) GVim8.0 & Python3.6
Anaconda python environment construction on Windows 10
Create a Python environment on Mac (2017/4)
Create a Python development environment on Windows (Visual Studio Code remote WSL).
Build a GVim-based Python development environment on Windows 10 (1) Installation
Create a Linux environment on Windows 10
Create a python environment on centos
Install Python development environment on Windows 10
Create a decent shell and python environment on Windows
Create a Python development environment on OS X Lion
Build a GVim-based Python development environment on Windows 10 (2) Basic settings
Create a python environment on your Mac
[Python] Create a virtual environment with Anaconda
Creating a python virtual environment on Windows
Create a Python environment
Create a Python environment for professionals in VS Code on Windows
Simply build a Python 3 execution environment on Windows
Build a Python development environment on your Mac
[Venv] Create a python virtual environment on Ubuntu
Set up a Python development environment on Marvericks
Create a Python execution environment on IBM i
Build a Python development environment on Raspberry Pi
Python + Kivy development on Windows
Steps to create a Python virtual environment with VS Code on Windows
Build Python environment on Windows
Django environment development on Windows 10
Build python environment on windows
Building a Python development environment on Windows -From installing Anaconda to linking Atom and Jupyter Notebook-
Notes on creating a python development environment on macOS Catalina
Create a python development environment with vagrant + ansible + fabric
Build a Python development environment on Mac OS X
Procedure for building a CDK environment on Windows (Python)
Python development environment with Windows + Anaconda3 + Visual Studio Code
Build a Python development environment using pyenv on MacOS
Building a Python environment on Mac
Python environment construction memo on Windows 10
Building a Python environment on Ubuntu
Install python2.7 on windows 32bit environment
Create a virtual environment with Python!
[Python3] Development environment construction << Windows edition >>
Python development environment construction on macOS
Build a python3 environment on CentOS7
Building a Jupyter Lab development environment on WSL2 using Anaconda3
Create a VS Code + Docker development environment on a Linux VM
Create a simple Python development environment with VSCode & Docker Desktop
Create a virtual environment for python on mac [Very easy]
Until building a Python development environment using pyenv on Ubuntu 20.04
Until you create a machine learning environment with Python on Windows 7 and run it
I tried to create a server environment that runs on Windows 10
Create a Python execution environment for Windows with VScode + Remote WSL
Python (anaconda) development environment construction procedure (SpringToolsSuites) _2020.4
Python 2.7, 3.4, 3.5 extension module build environment on Windows
Example of building python development environment on windows (wsl2, vscode, pipenv)
Python on Windows
Build a 64-bit Python 2.7 environment with TDM-GCC and MinGW-w64 on Windows 7
Build a python environment on MacOS (Catallina)
python windows environment
Build a Python environment on your Mac with Anaconda and PyCharm
Let's create a virtual environment for Python