Note when creating an environment with python

When creating a virtual environment

python2 series

$mkdir -p $(Working directory name)
$cd !$
$virtualenv venv
$source venv/bin/activate

python3 series

mkdir -p $(Working directory name)
cd !$
python3 -m venv venv
source venv/bin/activate

reference

Procedure memo for creating a virtualenv environment with Homebrew Python2 and Python3

pyenv memo

Create an environment

$pyenv virtualenv {Python Version} {Virtual environment name}

Recommended Posts

Note when creating an environment with python
Creating an egg with python
A memo when creating a python environment with miniconda
Studying Python Part.1 Creating an environment
[Python] Building an environment with Anaconda [Mac]
When creating an environment that uses python django on Ubuntu 12.04 LTS
Python environment with docker-compose
Virtual environment with Python 3.6
Recommended environment and usage when developing with Python
Building an Anaconda environment for Python with pyenv
Commands for creating a python3 environment with virtualenv
Create an environment with virtualenv
Install Python environment with Anaconda
Manage python environment with virtualenv
Reading Note: An Introduction to Data Analysis with Python
[Note] Operate MongoDB with Python
Build python3 environment with ubuntu 16.04
Problems when creating a csv-json conversion tool with python
Prepare python3 environment with Docker
Build python environment with direnv
Building an environment for natural language processing with Python
Error when playing with python
Let's get started with Python ~ Building an environment on Windows 10 ~
[python] A note when trying to use numpy with Cython
Creating an environment that automatically builds with Github Actions (Android)
Cut out an image with python
Error when building mac python environment
Build python virtual environment with virtualenv
Setup modern Python environment with Homebrew
Build Mysql + Python environment with docker
Create a virtual environment with Python!
Create an Excel file with Python3
(Note) Be careful with python argparse
I sent an SMS with Python
Building a virtual environment with Python 3
[Note] Hello world output with python
Precautions when creating a Python generator
Python3 environment construction with pyenv-virtualenv (CentOS 7.3)
Draw an illustration with Python + OpenCV
pytorch @ python3.8 environment construction with pipenv
Note: Send an email with Django
When matplotlib doesn't work with python2.7
Prepare Python development environment with Atom
[Python] Send an email with outlook
[Python] Creating multiple windows with Tkinter
When using MeCab with virtualenv python
Precautions when using six with Python 2.5
[Python] Format when to_csv with pandas
Note: Python
A note I was addicted to when creating a table with SQLAlchemy
Python note
[Pyenv] Building a python environment with ubuntu 16.04
[Ubuntu 18.04] Python environment construction with pyenv + pipenv
Competitive programming with python Local environment settings
python note: when easy_install is not available
Change Python 64bit environment to 32bit environment with Anaconda
Building a Python3 environment with Amazon Linux2
[Note] Get data from PostgreSQL with Python
Creating an Ubuntu 18.04 + MAAS2.4 environment starting from 0
Creating an unknown Pokemon with StyleGAN2 [Part 1]
Snippet when searching all bits with python