Tag Archive


amateur astronomy awk bash b[e] supergiant cartoon conference convert evolved star exoplanet fedora figaro fits fun galaxy history iraf large magellanic cloud latex linux lmc machine learning magellanic clouds massive star matplotlib meteor mypaper paper peblo photometry planet pro-am pyraf python red supergiant scisoft skinakas observatory small magellanic cloud smc spectroscopy starlink talk ubuntu university of crete video x-ray

Setting up virtual environments for Python

The biggest issue when dealing with multiple projects is how to keep track of the various Python and other packages’ versions you are using in each project. It is not uncommon to update something and get something else broken…

The solution is virtual environments. And for these there are few options such as virtualenv and conda (among others). So far I have postponed (and not with good results) the use of environments. But finally, I took the necessary time to investigate pros and cons and make a decision. I found the following guides from WhiteBox exceptional well written and useful:

along with this great meme …

Darth Vader about conda envs (as presented in WhiteBox)