/multifunctionformacos

Multifunctional tools(for macos12.0.0+ and python3.8.10+)

Primary LanguagePython

multifunctionformacos

该版本是仓库billma007/multifunction: A python program which can chat with you,search for weather,download videos,change flv into mp4 and translate Chinese/English into English/Chinese (github.com)的macOS Monterey适配版本。该版本已在纯净的MacOS Monterey12.3.1+Python3.8.10环境下通过。

测试环境

  • MacOS Monterey 12.3.1 Release
  • Python 3.8.10 Release
  • Homebrew

快速开始

执行:

git clone https://github.com/billma007/multifunctionformacos
cd multifunctionformacos
(sudo) python3 -m pip install -r requirements
//如果出现模块安装错误,请执行:
brew install you-get
python3 main.py

如果您的Mac还没有安装pip,请输入以下指令来安装pip和easy_install:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3 get-pip.py

如果您的Mac没有安装HomeBrew,请通过以下方式安装homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

由于众所周知的原因,githubusercontent在**大陆访问极其缓慢,你可以通过国内大佬制作的镜像下载脚本:

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

出现任何模块的安装错误,请使用 brew install module来解决。

具体用法

billma007/multifunction: A python program which can chat with you,search for weather,download videos,change flv into mp4 and translate Chinese/English into English/Chinese (github.com)