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.
Use anaconda (Python3) instead of raw Python3.
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.
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. ** **
Access the official website After accessing, scroll to the figure below. After that, click [^ 4] "64-Bit Graphical Installer" painted in yellow [^ 5]. This completes the download.
** Click "Anaconda3-Honyara-Windows-x86_64". ** (Honyara will be dated. In my case it was "2020.7". Don't worry if it's different) Double-clicking will bring up a screen like this (I don't care if "2020.7" is different (ry). ** Press "Next>". **
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. ** **
Unless you do something special, I think it's okay to proceed without changing any settings. ** Press "Next>". ** **
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>". ** **
** "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.
Installation is complete when this screen appears. ** Press "Next>". ** **
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". ** **
Now, the installation of Anaconda is complete. Command prompt 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.
Thank you for your hard work. You can now use the libraries installed in Python 3 and Anaconda.
[^ 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