1 安装相应的依赖包
pip install ftfy regex tqdm
2 使用openAI提供的github安装源安装
pip install git+https://github.com/openai/CLIP.git
若之前没有安装过git,此步之前需要先安装git
pip install ftfy regex tqdm
pip install git+https://github.com/openai/CLIP.git
若之前没有安装过git,此步之前需要先安装git