美文网首页
[Tips] Mac Python 降级 3.7 -> 3.6

[Tips] Mac Python 降级 3.7 -> 3.6

作者: simplehych | 来源:发表于2019-01-14 11:06 被阅读0次

针对3.6升级到3.7出现的问题

Step 1 查看本地3.6版本

brew info python
$> brew info python
python: stable 3.7.2 (bottled), HEAD
Interpreted, interactive, object-oriented programming language
https://www.python.org/
/usr/local/Cellar/python/3.6.3 (3,690 files, 57.5MB)
  Poured from bottle on 2017-11-22 at 10:41:58
/usr/local/Cellar/python/3.7.2 (8,437 files, 118MB) *
  Built from source on 2019-01-09 at 18:35:11
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/python.rb

Step 2 切换版本

brew switch python 3.6.3

相关文章

网友评论

      本文标题:[Tips] Mac Python 降级 3.7 -> 3.6

      本文链接:https://www.haomeiwen.com/subject/xtdddqtx.html