

- Conda install package for specific version of python full#
- Conda install package for specific version of python software#
If during the process of installing libraries (like pandas or scikit-learn) System Python breaks (and believe me, shit happens), the probabilities of being in trouble (complicated fix / fresh OS install) are high, that's one of the reasons virtual environments exist and are so popular. That's the reason we want to preserve this Python installation clean and working perfectly. For example, if you open a file explorer, it may use System Python under the hood to list files and folders. This Python installation is called System Python, and it means that this executable is used by our Operating System to do many things. Python is just an executable binary in our system. If you get a better understanding of virtual environments we have accomplished our goal.Īs you can see, the output of this command says that Python is already installed in our system, specifically in the location /usr/bin/python3. The goal of this post is to end this madness once for all. You would be surprised how many excellent professionals, even with 5+ years of experience still struggle with chaotic, corrupted, and barely usable Python installations because of that.
Conda install package for specific version of python full#
We also tried other alternatives and always go back to conda because it is the only, let's say, full featured solution on the market.īased on my experience of more than 6 years doing Data Science, conda (and virtual environments in general) is a tool that is often not well understood. We use it for both development and production purposes and we strongly believe that conda stands out from other alternatives like virtualenv, poetry, pyenv or pipenv. This post is about conda, the tool we use to install and manage Python and its libraries in our systems.

This is the first post of the WhiteBox toolkit series, where we will tell you more about the tools we use in our everyday job, in high detail. So being a programmer or developer helps to have the latest version of Python up and running on your system.There are two types of Data Scientists, those who took the time to master conda and those who don't (and cry at the corners because of that). This way, we can make our daily tasks easier, simpler, and accurate.
Conda install package for specific version of python software#
In the modern era of computing, it is pertinent that we keep our systems updated, our software free of viruses, and our utilities upgraded to their latest versions. In short, for those who haven’t already, consider upgrading your Python to version 3.5 or later. So if you happen to be just starting off with this programming language, it’s better to leave the veterans to the old ones and start your journey with a fresh and minted version of Python. Similarly, Facebook is catching up and is upgrading its infrastructure to Python 3.4 and later.įurthermore, Python 3 is easier to understand and learn for beginners. For instance, Instagram migrated its code-base from Python 2.7 to Python 3 in 2017. However, as the technology progresses, more and more companies are moving toward Python3. Some companies also use Python 2 for all their work. Python 2.0 is still used in many Linux systems as the default version. However, it is understandable if you are trying to install an outdated version on purpose if some feature you need was removed later. The latest versions have more tools and libraries at your disposal, so it makes sense to use the later versions. Python 2.0 was released in 2000, Python 2.7 in 2010, whereas Python 3.0 was released in 2008, and Python 3.6 in 2016. It makes sense that as time passes by, a utility or programming language progresses in terms of features and performance. Now that we have covered the meat of the matter let’s talk about which Python version you should get and why. Why you should install Python 3.5 or later


You can do the same for any particular version of your choice. Once it’s done, you can check whether the installation was successful or not by simply running the commands we mentioned at the start.Īs you can tell from the image, we have successfully downgraded from Python 3.8.5 to Python 2.7.12. The installation process, while it is straightforward and simple, should take a few minutes to complete.
