So I am pretty new to Ubuntu and Python, so apologies if this is a stupid question. I have been consulting this question on what package manager to use for Python apt-get install vs pip install
seem to suggest that I not use pip to manage the packages on a global level. I should do any updates/installation to packages through
apt unless a package is not there in Canonical's distribution. From what I understand, if I want to use a updated package for one project than the one in Ubuntu/Canonical's repository, I should use pip inside of a Virtual Environment. But how should I install virtualenv itself?
Now I have a few questions:
1) Should I use
apt to get virtualenv or use
pip considering that virtualenv seems to have gone significant upgrades from version 15 to 16 based on a glance at the release notes
2) Considering that Canonical often doesn't have the updated versions of Python packages or software, for a person who is a beginner at programming/development, how important is it to use the latest and newest releases of packages?
3) Is it application specific?
4) Specifically, in the case of numpy and virtualenv, is it useful for a beginner to have the latest version or can a slightly older version (e.g. numpy version 1.13 vs 1.16) work because Canonical seems to install version 1.13?