python package management and virtual env
I’m always scared away by python dependecy management. I’m always pissed off when I’m trying to install a pip package only to conflict with the system managed ones. Now I fainally take the chance to take a look at venv.
§ How does python (pip) manage packages?
AW: they fuck you.
§ How does linux distro manage python packages?
AW: they fuck you.
§ the venv (python 3.3+)
# create
$ python -m venv <name> # python 3.3
$ virtualenv <name> # python 3
# activate
$ source envname/bin/activate
# deactive
$ deactivate # (while in virtenv)