1.安装 HomeBrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"2.安装 miniconda
brew update
brew install miniconda3.创建环境
CONDA_SUBDIR=osx-64 conda create -n pdfgui2 python=3.9 diffpy.pdfgui -c conda-forge4.激活、进入环境
conda activate pdfgui25.启动 pdfgui
pdfgui