惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
LangChain Blog
月光博客
月光博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
博客园_首页
T
Tailwind CSS Blog
P
Proofpoint News Feed
雷峰网
雷峰网
D
Darknet – Hacking Tools, Hacker News & Cyber Security
IT之家
IT之家
V
Vulnerabilities – Threatpost
阮一峰的网络日志
阮一峰的网络日志
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs
S
Schneier on Security
Security Archives - TechRepublic
Security Archives - TechRepublic
L
Lohrmann on Cybersecurity
V
Visual Studio Blog
云风的 BLOG
云风的 BLOG
WordPress大学
WordPress大学
The Register - Security
The Register - Security
N
Netflix TechBlog - Medium
Hugging Face - Blog
Hugging Face - Blog
Project Zero
Project Zero
博客园 - 叶小钗
F
Full Disclosure
大猫的无限游戏
大猫的无限游戏
Latest news
Latest news
S
SegmentFault 最新的问题
C
Cyber Attacks, Cyber Crime and Cyber Security
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
L
LINUX DO - 最新话题
Google DeepMind News
Google DeepMind News
P
Privacy International News Feed
I
InfoQ
F
Fortinet All Blogs
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Threatpost
T
Tenable Blog
B
Blog RSS Feed

MakeItClear

Homebrew 安装及更新软件 | MakeItClear FastJson 对象、JSON、字符串、Map 之间的互转 | MakeItClear Mac 安装配置Mysql | MakeItClear Mac 安装配置 Miniconda | MakeItClear Hyper & Fish Shell | MakeItClear Mac 终端提示: The default interactive shell is now zsh. Chrome 内置二维码功能 | MakeItClear Chrome 优秀插件推荐「持续更新」 | MakeItClear Mac 免费效率软件推荐「持续更新」 | MakeItClear
Fish Shell 设置 python3 为默认版本
2021-03-07 · via MakeItClear

次阅读 1 min read

  1. 查看 python 的安装位置
ls -l /usr/local/bin/python*
  1. 打开 fish 配置文件
vim ~/.config/fish/config.fish
  1. 在配置文件中加入 alias 设置(其中 /usr/local/bin/python3 是 python3 的安装位置)
alias python="/usr/local/bin/python3" 
  1. 运行命令使配置生效
source ~/.config/fish/config.fish
  1. 检查默认 python 版本
python --version