Raspbian OS is a light-weight operating system for Raspberry Pi, a credit card-sized mini-computer which has the capability to be used as a desktop computer too.
Recently, while working on a computer vision project on my Raspberry Pi, I had to install Python 3.6 or above.
I installed Python 3.7 on it. Thinking Python 3.5, which comes by default is not required any longer, I removed it.
Here’s what happened Next!
While uninstalling Phython 3.5, many other packages also got removed.
Next time, when I tried to boot my Raspberry Pi, it didn’t even boot!
I couldn’t do anything but burn my SD card again and work on the project from the scratch.
What I learned from it?
Never UNINSTALL any Python packages that comes by default in Raspbian OS.
If you require other versions of Python, the best way that one can do is to create virtual environments.
To create virtual environments in Raspbian OS, check out my blog post:
Yet another takeaway
Kuzu Zangpo la! I am Sonam Dargay. I am a full-time software developer. Apart from 9-5 office works, I am a tech enthusiast, blogger, and dreamer.
I graduated from the College of Science and Technology(CST), affiliated with the Royal University of Bhutan.