The case that the installation of pip became easier before I knew it

2014/07/07 postscript

This is miso, but I hope you can refer to the following for the Python environment.

-Python development environment in 10 minutes -Think again about the Python development environment


Package management in Python is pip.

When I tried to insert pip, I used to use the procedure "Install setuptools or distribute → hit ʻeasy_install pip`", but before I knew it, setup became easier.

http://www.pip-installer.org/en/latest/installing.html

It seems that if you execute get-pip.py, you can enter it in one shot. Therefore, it can be installed with one command below.

curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

Of course, after the pipe, please change it by adding sudo or python3 according to your environment.

That's why building a Python development environment (installing pip, virtualenv, virtualenvwrapper) has become much easier.

curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
pip install virtualenv virtualenvwrapper
vi ~/.bashrc
#Add the following 3 lines
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Devel
source /path/to/your/virtualenvwrapper.sh

I think it was quite difficult to create an environment before, but it's a good time (far eyes).

Recommended Posts

The case that the installation of pip became easier before I knew it
Before I knew it, CatBoost had evolved so much that pre-processing of text items became unnecessary.
P100-PCIE-16GB was added to the GPU of Google Colab before I knew it
Before I knew it, I couldn't use hyphens in the client id of GAE's Channel API.
What I felt at Yahoo! Hack Day 2019, it became easier to develop if I prepared it before the hackathon
The story that fits in with pip installation
About the case that it became a Chinese font after updating with Linux (correction method)
Code that sets the default value in case of AttributeError
[Python] I installed the game from pip and played it
I want to know the features of Python and pip
I want to know the legend of the IT technology world
I tried to make a site that makes it easy to see the update information of Azure
Through the installation of pip package that depends on opencv-python when building opencv from source code
[Student version] I didn't have much information about the installation procedure of CPLEX, so I wrote it.
Find the sensor installation location that maximizes the amount of acquired data
I looked at the meta information of BigQuery & tried using it
I investigated the X-means method that automatically estimates the number of clusters
[Super basics of Python] I learned the basics of the basics, so I summarized it briefly.
I made a slack bot that notifies me of the temperature
[Supplement to the previous article] I tried using the PUSH API of LINE Bot, which had become available in the free plan before I knew it.