So I am setting up a Github repository with Gitpod through my Ipad. I learned I could use this command in order to easily load every requirement with the .gitpod.yml file.
pip freeze > requirements.txt
My question is: inside the requirements file, the packages are listed with their current version, but I would love them all to be of the form:
pandas==*
and not:
pandas==1.4.1
Thanks in advance for any help!
Then put the entry as just
pandaswithout any version number:It will upgrade to the latest version whenever you do
pip install --upgrade -r requirements.txt.Note that you shouldn't do this in a production environment because it's possible for a future version to become incompatible with your current code or other libraries.