天天看點

記錄一些常用的python中的小知識

  1. 一鍵導出python目前環境中的所有庫的版本号

    在terminal中, 激活目前的環境,然後輸入

    pip list --format freeze > D:/requirements.txt