Install the latest Python from pyenv installed with homebrew

The pyenv installed by homebrew is release tagged, so pyenv The original HEAD may not support the supported Python version.

You can install it by git clone from the original home, but it is troublesome to manage, so if possible I would like to be able to upgrade with homebrew.

It's a pain to put it in from the tar ball, and now I'm looking at the help with pythonz .. There is something like <definition-file>.

% pyenv install -h               
Usage: pyenv install [-f] [-kvp] <version>
       pyenv install [-f] [-kvp] <definition-file>
       pyenv install -l|--list

So I tried it and it was done!

  1. Find and download the file you are looking for from https://github.com/yyuu/pyenv/tree/master/plugins/python-build/share/python-build
  2. Or write it yourself
  3. I decide to use 3.4.0rc2: pyenv install ./3.4.0rc2
  4. Confirmation: pyenv versions

Recommended Posts

Install the latest Python from pyenv installed with homebrew
Install pyenv from Homebrew, install Python from pyenv
Install the latest stable Python with pyenv (both 2 and 3)
Install python with pyenv
I wanted to install Python 3.4.3 with Homebrew + pyenv
Make OpenCV3 available from python3 installed with pyenv
Install Python from source with Ansible
Install Python as a Framework with pyenv
pyenv doesn't work with tcl-tk installed by homebrew.
Use the nghttp2 Python module from Homebrew from pyenv's Python
Install python from source
Install python (pyenv, pyenv-virtualenv)
Install Voluptuous with Python 2.5
Notes from installing Homebrew to building an Anaconda environment for Python with pyenv
I installed Pygame with Python 3.5.1 in the environment of pyenv on OS X
Learn Nim with Python (from the beginning of the year).
Touching the latest physics-based renderer Mitsuba2 (2) Running from Python
Steps to install the latest Python on your Mac
Use Python installed with pyenv for PL / Python execution environment
Use python installed with Pyenv with Sublime REPL of Sublime Text 3
Solved the problem that MacVim installed by Homebrew was not built by python of pyenv
[2020.8 latest] How to install Python
Install external libraries with Python
Call the API with python3.
python with pyenv and venv
With skype, notify with skype from python!
[Python] Check the installed libraries
2020/02 Python 3.7 + TensorFlow 2.1 + Keras 2.3.1 + YOLOv3 Object detection with the latest version
How to install Python2.7 python3.5 with pyenv (on RHEL5 CentOS5) (2016 Nov)
I tried using the Python library from Ruby with PyCall
Can't find the package you installed with pip install --user?
[Python] I installed the game from pip and played it
System trade starting with Python3: Get the latest program code
Notes on deploying pyenv with Homebrew and managing Python versions
A memorandum (masOS) that import tkinter could not be done with python installed from pyenv
TensorFlow 2.2 can't be installed with Python 3.8!
Extract the xz file with python
I couldn't use tkinter with python installed by pyenv of anyenv
Call C from Python with DragonFFI
Install Python 2.7.9 and Python 3.4.x with pip.
Using Rstan from Python with PypeR
Setup modern Python environment with Homebrew
I can't install python3 with pyenv-vertualenv
HomeBrew can't install Python (at Mavericks)
Create folders from '01' to '12' with python
Set python compile options with pyenv
Existence from the viewpoint of Python
Get the weather with Python requests
Find the Levenshtein Distance with python
Change the Python version of Homebrew
Consider what you can do with Python from the Qiita article
Hit the Etherpad-lite API with Python
Install the data files with setup.py
Run Aprili from Python with Orange
Read a file in Python with a relative path from the program
Use Python in pyenv with NeoVim
I liked the tweet with python. ..
Use the Flickr API from Python
Call python from nim with Nimpy
Manage each Python version with Homebrew
Install Python on CentOS using Pyenv