Create a decent shell and python environment on Windows

When comparing Windows and Linux, what I dislike is the terminal emulator, which is difficult to use. So, this time, I will use ConEmu instead. Also, I want to use bash after all, so let's include this as well. Also, make sure you have Python and some packages available.

MSYS2 installation

Just download it from here and poke around.

$ pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
$ exit
$ pacman -Su

Let's keep it

ConEmu setup

Download it from here and click it. Since there is no msys bash session as it is, register the command "c: \ msys64 \ usr \ bin \ bash.exe" --login -i in settings> startup> tasks. If you want to make it the default, select it from settings> startup with specified named task.

However, at this rate, ctrl -l did not work in my environment, so

.inputrc


"\C-l": "echo -en '\\0033\\0143'\n"

It was made. However, if you do this, ctrl -l will not work with programs that use readline other than bash, so I want a nice hand.

Python installation

Poke it with pacman or drop it from here. I didn't like to rely on MSYS, so I dropped it from the official. If you use official python, you can't use libncurses

python


$ pip install pyreadline

I will leave it as. Also, when using pip, if you can not build the package due to lack of header etc., you can drop it from here. is. Also in my environment I had to put the path in bashrc.

Recommended Posts

Create a decent shell and python environment on Windows
Create a Python virtual development environment on Windows
Create a Python environment on Mac (2017/4)
Create a comfortable Python 3 (Anaconda) development environment on windows
Create a Linux environment on Windows 10
Create a python environment on your Mac
Creating a python virtual environment on Windows
Create a Python environment
Until you create a machine learning environment with Python on Windows 7 and run it
Create a Python environment for professionals in VS Code on Windows
Build a 64-bit Python 2.7 environment with TDM-GCC and MinGW-w64 on Windows 7
Simply build a Python 3 execution environment on Windows
[Venv] Create a python virtual environment on Ubuntu
Create a Python execution environment on IBM i
Create a Python development environment on Windows (Visual Studio Code remote WSL).
Steps to create a Python virtual environment with VS Code on Windows
Build python environment on windows
Create a Python3 environment with pyenv on Mac and display a NetworkX graph
Build a GVim-based Python development environment on Windows 10 (3) GVim8.0 & Python3.6
Build a GVim-based Python development environment on Windows 10 (1) Installation
Procedure for building a CDK environment on Windows (Python)
Create a Python development environment on OS X Lion
Building a Python environment on Mac
Python environment construction memo on Windows 10
Python 3.6 on Windows ... and to Xamarin.
Anaconda python environment construction on Windows 10
Building a Python environment on Ubuntu
Install python2.7 on windows 32bit environment
Create a virtual environment with Python!
Integrate Modelica and Python on Windows
Install Python development environment on Windows 10
Build a python3 environment on CentOS7
Until you create Python Virtualenv on Windows and launch Jupyter
Create a Python (pyenv / virtualenv) development environment on Mac (Homebrew)
Building a Python environment on a Mac and using Jupyter lab
Build a GVim-based Python development environment on Windows 10 (2) Basic settings
Create a virtual environment for python on mac [Very easy]
How to create a Python 3.6.0 environment by putting pyenv on Amazon Linux and Ubuntu
I tried to create a server environment that runs on Windows 10
Python 2.7, 3.4, 3.5 extension module build environment on Windows
Python on Windows
How to set up WSL2 on Windows 10 and create a study environment for Linux commands
Build Python3 and OpenCV environment on Ubuntu 18.04
Build a python environment on MacOS (Catallina)
Python virtual environment and packages on Ubuntu
python windows environment
Build a Python environment on your Mac with Anaconda and PyCharm
Let's create a virtual environment for Python
[Python] Create a virtual environment with Anaconda
A memo with Python2.7 and Python3 on CentOS
Building a Python 3.6 environment with Windows + PowerShell
[Python] Create a Batch environment using AWS-CDK
I built a TensorFlow environment on windows10
Create a Linux virtual machine on Windows
Build a Python + OpenCV environment on Cloud9
Create a C ++ and Python execution environment with WSL2 + Docker + VSCode
Create a simple Python development environment with VS Code and Docker
Everything from building a Python environment to running it on Windows
LaTeX and R (a little Python) environment construction with SublimeText3 (Windows)
[AWS] Create a Python Lambda environment with CodeStar and do Hello World
[Python] Create a linebot to write a name and age on an image