pyenv-change the python version of virtualenv

Introduction

When I first played with Heroku, the runtime for python was 2.7.8, so I just wrote python-2.7.8 in runtime.txt. Recently, 2.7.9 can be used for python2.x series, so I would like to upgrade the heroku app to 2.7.9.

The python environment is managed using pyenv-virtualenv.

First thing to do

Run pyenv install 2.7.9 to put python-2.7.9 into pyenv management.

What to do in each project

Impressions

It's not particularly difficult, but you may be worried about a compile timeout in the case of a large package such as matplotlib.

Recommended Posts

pyenv-change the python version of virtualenv
A note about the python version of python virtualenv
Change the Python version of Homebrew
About the virtual environment of python version 3.7
[Python] Try pydash of the Python version of lodash
the zen of Python
Try the python version of emacs-org parser orgparse
Try the free version of Progate [Python I]
Align the version of chromedriver_binary
Towards the retirement of Python2
About the ease of Python
Version upgrade of python Anaconda
Check OpenSSL version of python 2.6
Specify python version with virtualenv
About the features of Python
The Power of Pandas: Python
Let's use the Python version of the Confluence API module.
[Python] Tuple version of prefecture pull-down
Test the version of the argparse module
Put the latest version of Python on linux (Debian) on Chromebook
The story of Python and the story of NaN
[Python] The stumbling block of import
Existence from the viewpoint of Python
Ideone> Python version: 3.5 (as of August 29, 2017)
How to get the Python version
[Python] Understanding the potential_field_planning of Python Robotics
Review of the basics of Python (FizzBuzz)
What is the default TLS version of the python requests module?
About the basics list of Python basics
Learn the basics of Python ① Beginners
The story that the version of python 3.7.7 was not adapted to Heroku
How to update the python version of Cloud Shell on GCP
Change the length of Python csv strings
Check the behavior of destructor in Python
[Python3] Understand the basics of Beautiful Soup
How to check the version of Django
Pass the path of the imported python module
The story of making Python an exe
Learning notes from the beginning of Python 1
Check the existence of the file with python
[Python] Understand the content of error messages
[Python3] Rewrite the code object of the function
I didn't know the basics of Python
The result of installing python in Anaconda
[python] Checking the memory consumption of variables
Check the path of the Python imported module
The story of manipulating python global variables
[python] [meta] Is the type of python a type?
Migemo version of the: find command,: mfind
The basics of running NoxPlayer in Python
Pandas of the beginner, by the beginner, for the beginner [Python]
The Python project template I think of.
In search of the fastest FizzBuzz in Python
Python Basic Course (at the end of 15)
Set the process name of the Python program
[Python] Get the character code of the file
The story of blackjack A processing (python)
Intuitively learn the reshape of Python np
Python Note: The secret role of commas
Learning notes from the beginning of Python 2
Japanese translation: PEP 20 --The Zen of Python