Specify python version with virtualenv

I wrote a CUI program in python and found that it didn't work on the server, but there was a punch line that it was different from the local python version, so a memorandum

How to use

sudo pip install virtualenv
# 2.Specify 6
virtualenv -p python2.6 test

Link https://virtualenv.pypa.io/en/latest/index.html

Recommended Posts

Specify python version with virtualenv
Check version with python
Specify the Python executable to use with virtualenv
Manage Python multiple version environment with Pythonz, virtualenv
Manage python environment with virtualenv
Specify version with conda install
Build python virtual environment with virtualenv
python memo --Specify options with getopt
pyenv-change the python version of virtualenv
Use rospy with virtualenv in Python3
When using MeCab with virtualenv python
[Python Windows] pip install with Python version
I want to specify another version of Python with pyvenv
Statistics with python
Python with Go
Twilio with Python
Integrate with Python
Play with 2016-Python
AES256 with python
Tested with Python
python starts with ()
with syntax (Python)
Bingo with python
Zundokokiyoshi with python
PYTHON2.7 64bit version
Clean python environment with pythonz and virtualenv
python in virtualenv
Excel with Python
Microcomputer with Python
Cast with python
If you want to include awsebcli with CircleCI, specify the python version
Building a python environment with virtualenv and direnv
Let's write FizzBuzz with an error: Python Version
How to specify TLS version in python requests
A note about the python version of python virtualenv
How to specify attributes with Mock of python
[Rust / Python] Handle numpy with PyO3 (August 2020 version)
[Improved version] Script to monitor CPU with Python
Commands for creating a python3 environment with virtualenv
Work in a virtual environment with Python virtualenv.
Solve "AtCoder version! Ant book (beginner)" with Python!
Zip, unzip with python
Django 1.11 started with Python3.6
Primality test with Python
Python with eclipse + PyDev.
Scraping with Python (preparation)
Try scraping with Python.
Learning Python with ChemTHEATER 03
Sequential search with Python
"Object-oriented" learning with python
Use pipdeptree with virtualenv
Run Python with VBA
Handling yaml with python
Serial communication with python
Learning Python with ChemTHEATER 05-1
Learn Python with ChemTHEATER
Run prepDE.py with python3
Specify hint with pymongo
1.1 Getting Started with Python
Collecting tweets with Python
Binarization with OpenCV / Python