Procedure for creating a Python quarantine environment (venv environment)

Steps to create a Python quarantine environment

Install pyenv for the time being

$ git clone https://github.com/yyuu/pyenv.git ~/.pyenv

Install a specific version

$ pyenv install 3.7.3

Create and move the base directory of the quarantine environment

$ mkdir sandbox
$ cd sandbox

Specify local version

$ pyenv local 3.7.3

Create venv environment

$ python -m venv venv

Switch to venv environment

$ source venv/bin/activate

Check which python you are using

$ which python
~/sandbox/venv/bin/python

Recommended Posts

Procedure for creating a Python quarantine environment (venv environment)
Procedure for creating a LineBot made with Python
Commands for creating a python3 environment with virtualenv
A memo for creating a python environment by a beginner
Python: Creating a virtual environment (venv), starting and stopping
Python development environment for macOS using venv 2016
Python project environment construction procedure (for windows)
Creating amateur python environment settings (for MAC)
[Mac] Building a virtual environment for Python
Creating a python virtual environment on Windows
Building a Python development environment for AI development
Creating a development environment for machine learning
Prepare a Python virtual environment for your project with venv with VS Code
Things to watch out for when creating a Python environment on a Mac
How to create a Python virtual environment (venv)
Ubuntu18.04.05 Creating a python virtual environment in LTS
I was addicted to creating a Python venv environment with VS Code
A memo when creating a python environment with miniconda
[Venv] Create a python virtual environment on Ubuntu
[GCP] Procedure for creating a web application with Cloud Functions (Python + Flask)
Create a Python environment
Python environment for projects
Building a Python environment for pyenv, pyenv-virtualenv, Anaconda (Miniconda)
Write about building a Python environment for writing Qiita Qiita
Building a Docker working environment for R and Python
Notes on creating a python development environment on macOS Catalina
Build a python environment for each directory with pyenv-virtualenv
Building and enabling a python virtual environment, etc. (venv)
Procedure for creating a Line Bot on AWS Lambda
Building a Python environment for programming beginners (Mac OS)
Memo for building a machine learning environment using Python
Setting up Jupyter Lab in a Python 3.9 venv environment
Python 3.6 installation procedure [for Windows]
Python environment construction For Mac
Anaconda3 python environment construction procedure
Python3 environment construction (for beginners)
Building a Python virtual environment
venv: Python virtual environment management
[For organizing] Python development environment
Build a Python environment offline
python standard virtual environment venv
Building a Python virtual environment
python3.8 venv environment jupyter notebook
Building a python environment for artificial intelligence (Chainer / TensorFlow / CSLAIER)
Installation procedure for Python and Ansible with a specific version
Building a development environment for Android apps-creating Android apps in Python
Building a Hy environment for Lisper who hasn't touched Python
Dockerfile for creating a data science environment based on pip3
[Python] Building a virtual python environment for the pyramid tutorial (summary)
Create a virtual environment for python on mac [Very easy]
Build a python environment on CentOS 7.7 for your home server
Step by Step for creating a Dockerfile
Building a Python environment on Ubuntu
Studying Python Part.1 Creating an environment
Create a Python environment on Mac (2017/4)
Create a virtual environment with Python!
Building a virtual environment with Python 3
Python development environment options for May 2020
Create a python environment on centos
Emacs settings for Python development environment
[Python] Creating a scraping tool Memo