pip freeze > requirements.txt
Finden Sie heraus, was Pip Freeze bedeutet
https://note.nkmk.me/python-pip-list-freeze/
Die Pip-Liste und das Pip-Freeze werden verglichen.
Das Ausgabeformat der Pip-Liste kann je nach Version und Einstellungen von Pip unterschiedlich sein, aber Pip-Freeze-Ausgaben im Format
===
Nach pip freeze> require.txt wurde folgende Meldung angezeigt
Python 2 is deprecated. Upgrade to pip3 as soon as possible. See https://cloud.google.com/python/docs/python2-sunset To suppress this warning, create an empty ~/.cloudshell/no-pip-warning file. The command will automatically proceed in 5 seconds or on any key.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop suppo rt for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-s upport
Da sich der Inhalt in der Datei require.txt widerspiegelte, schien es kein Problem zu geben.
Danach wurde das Terminal getrennt und es schien, dass Tensoflow nicht installiert werden konnte. Es wurde nicht gelöst, also stimmt vielleicht etwas nicht.
Recommended Posts