0

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

1 Answers1

2

Use >= instead of ==

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

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 08 '22 at 16:44
  • Ohh, it's been three years guys. I found the answer, and the upper answer is kinda true. Inside your `requirements.txt`, replace all the `==` with `>=` and save it. And do the `pip install -r requirements.txt` thingy. All done. – Bishwas Bhandari Feb 13 '23 at 10:42