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

Question:

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 astroid

Asked By: Bishwas Bhandari

||

Answers:

Use >= instead of ==

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

Answered By: user18152794