小编stw*_*ite的帖子

使用 Homebrew 在 MacOS 上安装 Python3 出现错误“无法导入站点模块”

所以我试图在 Mac OSX El Capitan 版本 10.11.6 上使用 Homebrew 重新安装 python3,但我不断收到错误。我用来安装 python3 的命令如下:

$ brew install python3
Run Code Online (Sandbox Code Playgroud)

第一个命令似乎工作正常,没有抛出错误。

$ brew linkapps
Run Code Online (Sandbox Code Playgroud)

第二个命令会引发以下错误:

Warning: `brew linkapps` has been deprecated and will eventually be removed!

Unfortunately `brew linkapps` cannot behave nicely with e.g. Spotlight using
either aliases or symlinks and Homebrew formulae do not build "proper" `.app`
bundles that can be relocated. Instead, please consider using `brew cask` and
migrate formulae using `.app`s to casks.
Linking: /usr/local/opt/python/IDLE.app
Linking: /usr/local/opt/python/Python Launcher.app
Linking: /usr/local/opt/python3/IDLE …
Run Code Online (Sandbox Code Playgroud)

python

6
推荐指数
1
解决办法
9417
查看次数

标签 统计

python ×1