【发布时间】:2025-12-07 04:20:03
【问题描述】:
我尝试使用带有“brew install python”的自制软件安装 Python 3.7。当我检查安装的 python 版本时,我得到了 python 2.7.10。有谁知道如何解决这个问题?
【问题讨论】:
我尝试使用带有“brew install python”的自制软件安装 Python 3.7。当我检查安装的 python 版本时,我得到了 python 2.7.10。有谁知道如何解决这个问题?
【问题讨论】:
您很可能需要使用
调用 python 3.7 命令python3
并使用
安装软件包pip3
此外,还要检查您的 $PATH 配置,因为它通常将 OSx python 作为 Mac 中的默认配置
【讨论】: