'How to "pip install" latest versions of modules from requirements.txt neglecting the old versions written in REQUIREMENTs.TXT?

I am working in Django. I want to install all the python modules which are the latest. What should in HAVE to do to update all the latest versions of modules?

How to "pip install" the latest versions of modules from requirements.txt neglecting the old versions written in REQUIREMENTs.TXT?

Let's say, Inside requirements.txt is:

asn1crypto==1.0.1
astroid==2.3.1

so I want to install the latest version of: asn1crypto and asn1crypto



Solution 1:[1]

Use >= instead of ==

Tip: you can replace it with using of vscode CTRL + F (or CTRL + H)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1