Thanks Anders—requirements files are only for pinning packages. But there are tools that make working with specific versions of Python easier. Check out these tutorials here on Real Python:
Great course Dan!
Thank you Dan!!! Very informative !
Thanks Dan! Really nice and direct course.
Become a Member to join the conversation.
Anders Eriksson on April 6, 2020
Hi! Thank you it was well explained, but I miss discussions and examples on the version of Python itself. The actual Python version or “minimum required version” is not generated in the requirements.txt What is happening if for instance I have Python 3.4 and the packages in a requirements.txt is requiring Python 3.6, will pip update the Python version? Thanks, Anders