I want to build a Python environment

This article doesn't have Python operating environment, but I want to make it work for the time being. It is an article for that. It is an environment construction.

I feel that there are as many similar articles as there are stars, but I will write them as a memo for myself.

Premise

VS Code installation

A free editor provided by Microsoft. You can download it from the Official Site.

The reason for adopting VS Code is

is. This doesn't have to be VS Code if you like the editor.


When the exe file is downloaded, double-click it. After that, follow the dialog and click, and the installation will be completed in no time. (If you are not particular about it, the default is fine, but I think it is convenient to add Open with Code)

Installation of Anaconda

Anaconda seems to be packed with useful libraries, including python. I think it would be more convenient to include various items, so this time I would like to add this Anaconda instead of python alone.

Download from the Official Site.

The exe file for setup is also downloaded here, so double-click it and follow the procedure. After a while, various downloads will start. It takes a long time, so let's take a break.

image.png

When you can press Next, you're done! If you press it a little, it will finish.

Put python Extension in VS Code

--Open VSCode and press "Ctrl + Shift + x" to open the Extension search screen. --Enter Python in the search, search for the Python Extension, and click Install.

I will write it as a trial

--Open a new file with "Ctrl + N" --Write print ("Hello World! ") --Use "Ctrl + S" to save it as hello.py in a suitable location. --Right click> Run Python File in Terminal. --If Hello World! Is output, you're done! Thank you for your hard work!

That's it.

Now that the environment is in place, I'll be writing python code from time to time ^^ Thank you for reading: bamboo:

Recommended Posts

I want to build a Python environment
I want to easily build a model-based development environment
Build a Python environment offline
I want to write to a file with Python
I tried to build a Mac Python development environment with pythonz + direnv
I want to embed a variable in a Python string
I want to easily implement a timeout in python
I want to iterate a Python generator many times
I want to generate a UUID quickly (memorandum) ~ Python ~
I want to write in Python! (2) Let's write a test
I want to randomly sample a file in Python
How to build a Django (python) environment on docker
I want to work with a robot in python.
[Go + Gin] I tried to build a Docker environment
[Python] I want to make a nested list a tuple
How to build a Python environment on amazon linux 2
I want to run a quantum computer with Python
Build a python3 environment on CentOS7
I want to debug with Python
I want to create a nice Python development environment for my new Mac
How to build a new python virtual environment on Ubuntu
I want to start a jupyter environment with one command
[Python] I want to get a common set between numpy
Build a Python environment and transfer data to the server
I want to use a virtual environment with jupyter notebook!
I want to send a message from Python to LINE Bot
How to build a python2.7 series development environment with Vagrant
I want to make input () a nice complement in python
Method to build Python environment in Xcode 6
How to build a sphinx translation environment
I want to print in a comprehension
Build a python environment on MacOS (Catallina)
I want to use jar from python
I want to analyze logs with Python
I want to play with aws with python
Build a python virtual environment with pyenv
Build a Python + OpenCV environment on Cloud9
Build a modern Python environment with Neovim
Add a Python virtual environment to VSCode
I want to use a wildcard that I want to shell with Python remove
I want to do a full text search with elasticsearch + python
How to build a Python environment using Virtualenv on Ubuntu 18.04 LTS
[Introduction] I want to make a Mastodon Bot with Python! 【Beginners】
I want to set up a GUI development environment with Python or Golang on Mac
Create a Python environment
I want to make matplotlib a dark theme
I tried to build a super-resolution method / ESPCN
I want to do Dunnett's test in Python
I want to easily create a Noise Model
How to create a Python virtual environment (venv)
I want to use MATLAB feval with python
I want to INSERT a DataFrame into MSSQL
I tried to build a super-resolution method / SRCNN ①
Simply build a Python 3 execution environment on Windows
I want to memoize including Python keyword arguments
Build a python environment with ansible on centos6
I want to email from Gmail using Python.
Build a Python environment on Mac (Mountain Lion)
[Python] Build a Django development environment with Docker
I don't want to take a coding test
Create a python3 build environment with Sublime Text3