How to upgrade your Python virtual environment

preview_player
Показать описание
Upgrading Python version is something everyone will face one way or not.

Recently, I finally decided to upgrade my Python software from 3.7 to 3, and one I saw many people were doing to upgrade a Python software is to uninstall and reinstall the software. One problem with that approach is after you reinstall the Python software, you will have to manually re-download all the libraries again, and especially if you have multiple Python virtual environments rely on the prior version of Python, upgrading can be a pain.

In this tutorial I will be sharing my way of migrating Python software.

Buy Me a Coffee? Your support is much appreciated!
Venmo: @Jie-Jenn

Supporting my channel so I can continue keep making free contents
----------------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

What happens to any dependencies which are deprecated. e.g. how can I find which dependencies are no longer supported with the newer Python version. Is this possible?

peekay-shyamprag
Автор

Python is new user focused but installing, managing versions and running the interpreter according to online tutorials is a total mess. Having the latest version on the home page, the one that all the libraries are trying to migrate to and are not complete or stable, that's the one a new user is faced to download and try to make it work. Thanks for the tip.

alexk
Автор

Hi can you make mongodb to Salesforce tutorial?

johnrobertcool
Автор

In the future I would also advise to "pip freeze > requirements.txt" inside your virtual environment folder in case something goes wrong. That way you will have all your dependencies still with you in that txt file! Thanks for the video :)

MaahirGupta