I am relatively new to setting up my own programming environment from scratch. I followed this tutorial and set up a virtual machine as well as a virtual environment. When I started working on a project and installing packages (presumably on my virtual environment once I activated it), it did not take long until I was completely lost.
I don't understand how to track:
- The differences between
pipandpip3(What does it mean if a package in installed for Python2 vs for Python3?) - How to see if a package is actually installed locally vs globally?
- How to see if a package is installed for a specific user vs globally?
- What is the difference between virtual environment package installation vs only for a user vs globally?
- Etc...
Could someone either answers some of the questions above or point me to a good place to learn the basics and to learn how to properly set up package management well, so that I can build and update packages with confidence going forward.
I am running a Ubuntu 18.04.2 LTS
P.S. Maybe this questioned is asked already somewhere, but I could not find the answers.