Install python package in personal environment on Ubuntu

Set the packages installed by easy_install.py to be under ~ / local. On Ubuntu 12.10.

/usr/local/lib/python2.7/dist-package/altinstall.pth

import os, site; site.addsitedir(os.path.expanduser('~/local/lib/python2.7'))

~/.pydistutils.cfg

[install]
install_lib = ~/local/lib/python2.7
install_scripts = ~/local/bin

I referred to this.

It's my personal hobby that the installation destination is ~ / local / lib instead of ~ / lib. Other configure-make systems can also be easily done with --prefix = ~ / local.

Recommended Posts

Install python package in personal environment on Ubuntu
Steps to install Python environment on Ubuntu
Install Python 3.3 on Ubuntu 12.04
Install the python package in an offline environment
Install OpenCV on Ubuntu + python
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Prepare Python development environment on Ubuntu
Building a Python environment on Ubuntu
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Install python2.7 on windows 32bit environment
Install scrapy in python anaconda environment
install tensorflow in anaconda + python3.5 environment
Install Python 3.9 on Ubuntu 20.04 (OS standard?)
Install Python development environment on Windows 10
Install confluent-kafka for Python on Ubuntu
Install Python 2.7 on Ubuntu 20.04 (OS standard?)
Build Python 3.8 + Pipenv environment on Ubuntu 18.04
OpenCV3 & Python3 environment construction on Ubuntu
Install CaboCha in Ubuntu environment and call it with Python.
Build Python3 and OpenCV environment on Ubuntu 18.04
Python virtual environment and packages on Ubuntu
Created Ubuntu, Python, OpenCV environment on Docker
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Install rJava on Linux in R3.6 environment.
Personal Note Package to install on Anaconda
Install the package in an offline environment
Install TensorFlow on Ubuntu
Install python on WSL
Ubuntu18.04.05 Creating a python virtual environment in LTS
Install Python on Pidora.
Install Scrapy on python3
Build Python3.5 + matplotlib environment on Ubuntu 12 using Anaconda
[Procedure memo] Install Python3 + OpenSSL locally on Ubuntu
Install Python on Mac
Install Python 3 on Mac
Install PySide2 on Ubuntu
Install Python3.4 on CentOS 6.6
Install Python 3.5.1 + numpy + scipy + α in Windows environment
How to install python package in local environment as a general user
Install JModelica on Ubuntu
Install python on windows
virtual environment in python
[Venv] Create a python virtual environment on Ubuntu
Install Python 2.7.3 on CentOS 5.4
build Python on Ubuntu
Development environment in Python
Install Python 3.4 on Mac
Install Theano on Ubuntu 12.04
Install angr on Ubuntu 18.04
Beep in Python (Ubuntu)
Install MongoDB on Ubuntu 16.04 and operate via python
Install pip / pip3 on Ubuntu
Install Python 3.6 on Docker
Install NVIDIA-driver (GeForce RTX 2070 SUPER), cuda 10.1, cudnn 7.6 on Ubuntu 18.04.3 LTS + python environment construction
Install Python3 on Mac and build environment [Definitive Edition]
Install Python venv --VSCode --GitHub integration environment on Mac
# 2 Build a Python environment on AWS EC2 instance (ubuntu18.04)
[For beginners] Install the package in the Anaconda environment (Janome)
I made a Python3 environment on Ubuntu with direnv.
Note when putting lxml of python package in ubuntu 14.04
Install Python environment on local PC (pyenv, venv on Mac)