I have been learning data science using python for about a year now. I have become quite comfortable with the syntax and model creation. I have exclusively used Google Colab just due to how convenient it is and I love the notebook style. However, one thing I do not understand is the environment stuff. Although I use Colab, I do have python and anaconda on my machine and have installed various packages using the exact following format: pip install (package name)
. When I open my terminal, the first line is lead with (base)
and when I check the Environments
tab in anaconda navigator, it appears as though I installed all of these packages into a base environment named base (root)
? Is that right? If so, what would my environment's name be then? What is a base environment compared to a venv?
The reason I am asking is because if I ever decide to use an IDE in the future, I would need to set my environment to be able to run packages, correct?
Just for fun I want to try using R and its reticulate package that allows python use in R. As stated in the answer to this question, I need to set my virtual environment before I can use python in R. Would my virtual environment be base (root)
?
I'm a complete noob about all of this environment stuff. Again, I just opened my terminal and typed pip install (package name)
for all packages I've installed. Thanks for any help in advance.