Set python compile options with pyenv

When using python with pyenv on ʻOSX, the following error may appear. (This problem doesn't seem to occur with the python` that comes with the OSX standard.)

LookupError: unknown encoding: x-mac-japanese

This problem can be solved by rebuilding python with compile options as follows.

PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs4" pyenv install 2.6.9 

Recommended Posts

Set python compile options with pyenv
Install python with pyenv
Reinstall python with pyenv with -fPIC
python with pyenv and venv
python memo --Specify options with getopt
Unable to install Python with pyenv
Use Python in pyenv with NeoVim
[Pyenv] Building a python environment with ubuntu 16.04
[Ubuntu 18.04] Python environment construction with pyenv + pipenv
[Python] Set the graph range with matplotlib
Install Python as a Framework with pyenv
Use smbus with python3 under pyenv environment
Build a python virtual environment with pyenv
Python set arithmetic
Statistics with python
Python with Go
Python set arithmetic
Twilio with Python
Integrate with Python
Play with 2016-Python
AES256 with python
Tested with Python
python starts with ()
with syntax (Python)
pyenv + anaconda + python3
Bingo with python
Zundokokiyoshi with python
Excel with Python
Microcomputer with Python
Cast with python
Build python environment with pyenv on EC2 (ubuntu)
Building an Anaconda environment for Python with pyenv
I wanted to install Python 3.4.3 with Homebrew + pyenv
Use multiple versions of python environment with pyenv
Make OpenCV3 available from python3 installed with pyenv
#Unresolved I want to compile gobject-introspection with Python3
Put Python 2.7.x on Mac OSX 10.15.5 with pyenv
How to use tkinter with python in pyenv
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
Run Python with VBA
Handling yaml with python
Serial communication with python
Learning Python with ChemTHEATER 05-1
Learn Python with ChemTHEATER
How to set up a Python environment using pyenv
Run prepDE.py with python3
1.1 Getting Started with Python
Collecting tweets with Python
Binarization with OpenCV / Python
3. 3. AI programming with Python
Kernel Method with Python
Non-blocking with Python + uWSGI
Scraping with Python + PhantomJS