Construction of Python local development environment Part 1 (pyenv, pyenv-virtualenv, pip installation)

Building a Python local development environment

Various github

Install pyenv

install_pyenv.sh


% cd $HOME
% git clone https://github.com/yyuu/pyenv.git .pyenv
% echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $HOME/.zshrc
% echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> $HOME/.zshrc
% echo 'eval "$(pyenv init -)"' >> $HOME/.zshrc
% exec $SHELL -l
% which pyenv #Confirm that Path is passing
% pyenv install -l #Check the installable version
% pyenv install x.x.x # x.x.install x

Install pyenv-virtualenv

install_pyenv-virtualenv.sh


% cd $PYENV_ROOT/plugins
% git clone https://github.com/yyuu/pyenv-virtualenv.git
% exec $SHELL -l
% pyenv virtualenvs

pip installation

install_pip


% cd $HOME
% curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
% which easy_install
% which pip
% pip list

Recommended Posts

Construction of Python local development environment Part 1 (pyenv, pyenv-virtualenv, pip installation)
Construction of Python local development environment Part 2 (pyenv-virtualenv, pip usage)
Python development environment construction
python2.7 development environment construction
Installation of Python3 and Flask [Environment construction summary]
python development environment -use of pyenv and virtualenv-
python (pyenv + pyenv-virtualenv) + CentOS7 installation
Python development environment construction 2020 [From Python installation to poetry introduction]
[Python] Django environment construction (pyenv + pyenv-virtualenv + Anaconda) for macOS
[MEMO] [Development environment construction] Python
Environment construction of python2 & 3 (OSX)
[Python] Chapter 01-02 About Python (Execution and installation of development environment)
Environment construction of python and opencv
Python environment construction (pyenv, anaconda, tensorflow)
[Python3] Development environment construction << Windows edition >>
Environment construction memo of pyenv + conda
Python development environment construction on macOS
Python environment construction (pyenv + poetry + pipx)
Environment construction of python3.8 on mac
Python3 environment construction with pyenv-virtualenv (CentOS 7.3)
Emacs Python development environment construction memo
Environment construction with pyenv and pyenv-virtualenv
[Ubuntu 18.04] Python environment construction with pyenv + pipenv
Python (anaconda) development environment construction procedure (SpringToolsSuites) _2020.4
Addition of local development environment on MacOS
Python3 + venv + VSCode + macOS development environment construction
Construction of development environment for Choreonoid class
Windows + gVim + Poetry python development environment construction
Installation method using the pip command of the Python package (library) Mac environment
Python virtual environment construction (2017 version) pyenv and pyenv-virtualenv and virtualenv and virtualenv wrapper and pyvenv and venv
Python environment construction
Environment construction (python)
python environment construction
Python --Environment construction
Python environment construction
python environment construction
Use multiple versions of python environment with pyenv
Kotlin / Native development environment construction & installation procedure & tutorial
Poetry-virtualenv environment construction with python of centos-sclo-rh ~ Notes
Python 3.x environment construction by Pyenv (CentOS, Ubuntu)
Python local development environment construction template [Flask / Django / Jupyter with Docker + VS Code]
Building a Python environment for pyenv, pyenv-virtualenv, Anaconda (Miniconda)
python windows environment construction
homebrew python environment construction
Build a GVim-based Python development environment on Windows 10 (1) Installation
Installation of Python 3.3 rc1
Google App Engine / Python development environment construction procedure (late 2014)
Install python (pyenv, pyenv-virtualenv)
About Python development environment
Web application made with Python3.4 + Django (Part.1 Environment construction)
pyenv + fish environment construction
QGIS3 Python plugin development environment construction with VSCode (macOS)
Build a Python development environment using pyenv on MacOS
Development environment in Python
Mac environment construction Python
Install Python environment on local PC (pyenv, venv on Mac)
Installation of matplotlib (Python 3.3.2)
Python environment construction @ Win7
Python environment construction on Mac (pyenv, virtualenv, anaconda, ipython notebook)
Create a Python (pyenv / virtualenv) development environment on Mac (Homebrew)
Unify the environment of the Python development team starting with Poetry