3 ms·
This is bad advice. Pip should be used in virtual environments, and not to install system packages
by nzjrs 8y ago
This is bad advice. Pip should be used in virtual environments, and not to install system packages
- txcwpalpha 8y agoWhile you're right that it's bad advice, it also highlights the problem with pip that these less experienced people have. The ideal way to deal with Python packages is virtualenvs, but setting up a virtualenv, and then activating it every time you want to use it (or setting up tools to do it for you) is an incredibly huge headache for less experienced people to deal with. R doesn't require that whatsoever.
- jupiter90000 8y agoNeither language requires an isolated dev environment, but it can help with avoiding headaches. As python has things like virtualenv and buildout, fortunately R has 'packrat' available, which provides a similar isolated/reproducible dev environment solution. https://rstudio.github.io/packrat/ https://rstudio.github.io/packrat/
- int_19h 8y agoThere's nothing wrong with pip for installing per-user packages outside of virtual environments.