Closed m0tchy closed 3 years ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Hi @m0tchy Could you elaborate on which problem you had that this change solves? I'm asking because the tutorial works fine for me on Colab. Thanks!
Though the original command will install the latest version but the specified version, it may work fine currently. However, it is not the intended result for specifying "tensorflow>=2.5". As the character ">" will be interpreted as redirection by the shell, the useless file "=2.5" will be created. It should be fixed by escaping "<" or double-quoting as explained in "Requirement Specifiers" in pip manual [1].
[1] https://pip.pypa.io/en/stable/cli/pip_install/#requirement-specifiers
The current code produces a "=2.5" file because ">=" is redirection.