Skip to main content

Installation

Alternatives

變更 python 指令的預設路徑

alternatives --set python /usr/bin/python3
# Or
alternatives --config python

# Check the list
alternatives --list
Poetry

Poetry 應該要安裝在 Python 虛擬環境,與主要系統間做隔離。

curl -sSL https://install.python-poetry.org | python3 -