Env Config
1 Dev Config
1.1 Terminal Theme
Powerlevel10k
Github: https://github.com/romkatv/powerlevel10k
VSCode Issue fix: https://github.com/romkatv/powerlevel10k/issues/671
1.2 VSCode Extensions




Pyaudio
pyaudio官网地址:http://people.csail.mit.edu/hubert/pyaudio/
如下图,官方指出,对于MacOS而言,安装pyaudio分为四步:1.安装Homebrew --> 2.安装wget --> 3.安装portaudio --> 4.安装pyaudio
步骤一:安装Homebrew
方法一:官网链接:https://brew.sh/
在“终端”执行命令行:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
方法二:
在“终端”执行命令行:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
步骤二:安装wget
在“终端”执行命令行:
brew install wget
步骤三:安装portaudio
在“终端”执行命令行:
brew install portaudio
步骤四:安装pyaudio
在“终端”执行命令行:
pip install pyaudio
此时会出现报错,再次在“终端”执行命令行:
python -m pip install --global-option='build_ext' --global-option='-I/opt/homebrew/Cellar/portaudio/19.7.0/include' --global-option='-L/opt/homebrew/Cellar/portaudio/19.7.0/lib' pyaudio
成功安装!
MySQL
1. try to call MySQL
forhheart@ForHHeartdeMacBook-Air ~ % mysql -u root -p
zsh: command not found: mysql
2. check your current path
forhheart@ForHHeartdeMacBook-Air ~ % echo $PATH
3. open the text file
forhheart@ForHHeartdeMacBook-Air ~ % vi .zshrc
4. add your mysql path into the text file, starting a new line
export PATH=${PATH}:/usr/local/mysql/bin
press ESC
key, then :wq
quit terminal, then open terminal
5. recall MySQL
forhheart@ForHHeartdeMacBook-Air ~ % mysql -u root -p
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)
· spring官宣接入deepseek,真的太香了~