原因:安裝的 Python 3,其命令名稱默認是?python3?和?pip3。 解決方案:設(shè)置命令別名 (Alias) # 在文件末尾添加以下行? alias python='python3'? alias pip='pip3'