Install Python development environment on Windows 10

How to install on Windows here

important point

As of October 13, 2020, the Python 3.9 version of Miniconda has not yet been released. So this article uses Python 3.8 series.

This article will be revised as Miniconda supports 3.9. However, I think that the installation method will not change even if it becomes 3.9.

last updated

October 13, 2020

The versions of Windows 10 that have been verified are as follows.

The version to be installed is as follows.

--Miniconda (Python 3.8 version)

If this article is out of date, the steps below may differ from the latest installation steps.

Miniconda

Installation

(1) Please access https://docs.conda.io/en/latest/miniconda.html.

(2) Click [Miniconda2 Windows 64-bit] in [Python 3.8]. スクリーンショット 2020-10-13 15.57.44.png

(3) Double-click the downloaded EXE file.

(4) Click [Next]. スクリーンショット 2020-10-13 15.58.57.png

(5) Click [I Agree]. スクリーンショット 2020-10-13 15.59.15.png

(6) If you want to install only for the current user, select [Just Me] and click [Next]. スクリーンショット 2020-10-13 15.59.41.png

(7) Click [Next]. スクリーンショット 2020-10-13 16.01.29.png

(8) Click [Install]. スクリーンショット 2020-10-13 16.02.12.png

(9) Click [Next]. スクリーンショット 2020-10-13 16.02.47.png

(10) Uncheck all the boxes and click [Finish]. スクリーンショット 2020-10-13 16.03.10.png

Verification

(1) Start [Anaconda Prompt] from the start menu. スクリーンショット 2020-10-13 16.08.34.png

(2) Execute python --version. If it is displayed as below, it is successful. スクリーンショット 2020-10-13 16.09.42.png

PyCharm

Installation

(1) Please access https://www.jetbrains.com/ja-jp/pycharm/download/.

(2) Click the [Download] button in [Community].

スクリーンショット 2020-10-13 13.42.44.png

(3) Double-click the downloaded EXE file. When [User Account Control] is displayed, click [Yes].

(4) Click [Next]. スクリーンショット 2020-10-13 13.46.23.png

(5) Click [Next]. スクリーンショット 2020-10-13 13.46.50.png

(6) Check [64-bit launcher] and click [Next]. スクリーンショット 2020-10-13 13.47.27.png

(7) Click [Install]. スクリーンショット 2020-10-13 13.48.19.png

(8) Check [Run PyCharm Community Edition] and click [Finish]. スクリーンショット 2020-10-13 13.49.43.png

Startup and initialization

(1) Check [I confirm that I have read and accept the terms of this User Agreement] and click [Continue]. スクリーンショット 2020-10-13 13.51.04.png

If you did not check Run PyCharm Community Edition at the end of the installation, double-click the PyCharm icon on your desktop to launch it.

(2) Click [Send Anonymous Statistics] if you agree to anonymously send statistics to JetBrains, or click [Don't Send] if you do not. スクリーンショット 2020-10-13 13.54.29.png

(3) Select the theme of your choice from [Darcula] or [Light] and click [Next: Featured plugins]. スクリーンショット 2020-10-13 13.55.41.png

(4) Click [Start using PyCharm] as it is. スクリーンショット 2020-10-13 13.56.31.png

Python interpreter and character code settings

(1) Click [Configure]-[Settings]. スクリーンショット 2020-10-13 13.57.57.png

(2) Select [Python Interpreter] from the menu on the left side of the screen → click the gear icon on the right side of the screen → click [Add ...]. スクリーンショット 2020-10-13 13.58.51.png

(3) Select [System Interpreter] from the menu on the left side of the screen → click [...] on the right side of the screen, select "C: \ Users \ user name \ miniconda3 \ python.exe", and click [OK] → Click OK. スクリーンショット 2020-10-13 16.14.34.png

(6) Select [Editor]-[File Encodings] → Change [Project Encoding] to [UTF-8]. スクリーンショット 2020-10-13 14.09.43.png

(7) Click [OK].

Set PyCharm to your liking (steps here are not required)

Please refer to [this article](https://qiita.com/suke_masa/items/f9af0fb84ad9447ae961#intellij-idea is not required).

The explanation of the setting of IntelliJ IDEA (IDE for Java) is the same for PyCharm.

Hello World with PyCharm

(1) Click [New Project]. スクリーンショット 2020-10-13 14.12.26.png

(2) Enter an appropriate path in [Location] → select [Existing interpreter] → check [Create a main.py welcome script] and click [Create]. スクリーンショット 2020-10-13 16.19.29.png

(3) Check [Don't show tips] and click [Close]. スクリーンショット 2020-10-13 14.14.55.png

(4) Right-click in main.py and click [Run'main']. スクリーンショット 2020-10-13 14.15.57.png

(5) If [Hi, PyCharm] is displayed, it is successful. スクリーンショット 2020-10-13 16.22.18.png

Recommended Posts

Install Python development environment on Windows 10
Install python2.7 on windows 32bit environment
Install python on windows
Install watchdog on Windows + Python 3.3
Python + Kivy development on Windows
Build Python environment on Windows
Django environment development on Windows 10
Build python environment on windows
[Python] [Chainer] [Windows] Install Chainer on Windows
Create a Python virtual development environment on Windows
Python environment construction memo on Windows 10
Build a GVim-based Python development environment on Windows 10 (3) GVim8.0 & Python3.6
Anaconda python environment construction on Windows 10
Python on Windows
python windows environment
Install xgboost (python version) on Windows
Install Pytorch on Blender 2.90 python on Windows
Build a GVim-based Python development environment on Windows 10 (1) Installation
[Python3] Development environment construction << Windows edition >>
Python development environment construction on macOS
Build a GVim-based Python development environment on Windows 10 (2) Basic settings
Python 2.7, 3.4, 3.5 extension module build environment on Windows
[Kivy] How to install Kivy on Windows [Python]
Steps to install Python environment on Ubuntu
Windows + gVim + Poetry python development environment construction
Install python on WSL
Install Python on Pidora.
Install Scrapy on python3
python windows environment construction
Install Python on Mac
Python development environment construction
About Python development environment
Install Anaconda on Windows 10
python basic on windows ②
Install pycuda on Windows10
python2.7 development environment construction
Install Python 2.7.3 on CentOS 5.4
Install pygraphviz on Windows 10
Install Python 3.3 on Ubuntu 12.04
Development environment in Python
Install Chainer 1.5.0 on Windows
Install Python 3.4 on Mac
Install Python 3.6 on Docker
Install Python (for Windows)
Example of building python development environment on windows (wsl2, vscode, pipenv)
Install and run Python3.5 + NumPy + SciPy on Windows 10
Install Python3, numpy, pandas, matplotlib, etc. on Windows
Simply build a Python 3 execution environment on Windows
Install python package in personal environment on Ubuntu
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
Install Python 3.5.1 + numpy + scipy + α in Windows environment
Build a Python development environment on your Mac
Set up a Python development environment on Marvericks
[Python] How to install OpenCV on Anaconda [Windows]
Build a Python development environment on Raspberry Pi
Install ZIP version Python and pip on Windows 10
Create a Python development environment on Windows (Visual Studio Code remote WSL).
Install Numpy on virtualenv on Windows
Set-enable Python virtualenv on Windows
Run Openpose on Python (Windows)
Install Python 3.8 on RHEL 8 (AppStream)