使用Jupyter Notebook安裝軟體

在Cell撰寫以下程式,並執行就會安裝軟體,其中sys.executable會回傳python直譯器的檔案位置。

import sys

!{sys.executable} -m pip install 軟體套件名稱