[PYTHON] A note of what I learned when I thought about using pyenv or virtualenv on Windows

2018/01/28 It's been almost 3 years since I wrote this article, and a new virtual environment tool has appeared, so I'd like to organize my head separate article I wrote items / 9edcc9adca302f2959c7). If you are interested in building a virtual environment, please refer to that article. 2017/10/22 masmatsum wrote an additional note. Thank you very much.

Introduction

A note that I started hearing the words pyenv and virtualenv since I started Python, and when I couldn't understand the difference at all, I was taught various things.

I added what I was taught around January 2015 today (2015/04/11) PyHack. .. Until today I didn't recognize the difference between pyenv and pyvenv.

Roughly summarized

About each tool

pyenv

virtualenv

pyvenv

Summary

bonus

I am using pyvenv because I am a person of 3.4 series or later + the first person I was taught was pyvenv.

Postscript

Starting with Python 3.6, pyvenv has been deprecated. Use python3 -m venv instead.

reference: https://stackoverflow.com/questions/41573587/what-is-the-difference-between-venv-pyvenv-pyenv-virtualenv-virtualenvwrappe/41573588#41573588 https://docs.python.org/dev/whatsnew/3.6.html#id8

Special Thanks python mini-hack-a-thon Python Mokumokukai @ Allied Architects (Ebisu) PyLadies Tokyo

Recommended Posts

A note of what I learned when I thought about using pyenv or virtualenv on Windows
A note when I can't open Jupyter Notebook on Windows
A note on using tab completion when running Python interactively on Windows
What I stumbled upon when using CodeIgniter on a Linux server
A note about the python version of python virtualenv
What I learned about AI / machine learning using Python (1)
A miscellaneous summary of what I researched about Ansible
What I did when I stumbled on a Django tutorial
What I learned about AI / machine learning using Python (3)
What I learned about AI / machine learning using Python (2)
I thought about a Python beginner's course on blockchain games
What I learned about AI and machine learning using Python (4)
What I learned about Linux
A note I was addicted to when making a beep on Linux
A reminder of what I got stuck when starting Atcoder with python
What Java users thought of using the Go language for a day
What I got into when using Tensorflow-gpu
What Rubyist should know when using pyenv
A struggle when installing pyenv on Cygwin
Suddenly I needed to work on a project using Python and Pyramid, so a note of how I'm studying
What I learned at hackerrank on 1/30 days.
I built a TensorFlow environment on windows10
What I was addicted to when creating a web application in a windows environment
I want to use Python in the environment of pyenv + pipenv on Windows 10
What I thought and learned to study for 100 days at a programming school
[Linux] Let's talk about when I stumbled upon a symbolic link I was using.
What to do when matplotlib gets angry on CentOS saying "I'm using Agg so I can't issue a figure"
A addictive story when using tensorflow on Android
[Ansible] What I am careful about when writing ansible
I thought a little about TensorFlow's growing API
I want to do pyenv + pipenv on Windows
[Example of Python improvement] I learned the basics of Python on a free site in 2 weeks.
What I thought about in the entrance exam question of "Bayesian statistics from the basics"
I want to take a screenshot of the site on Docker using any font
I took a look at the contents of sklearn (scikit-learn) (1) ~ What about the implementation of CountVectorizer? ~
What I learned by launching a photo site using administrative data and multiple APIs
I thought about why Python self is necessary with the feeling of a Python interpreter
I get an error when I try to raise Python to 3 series using pyenv on Catalina