手动安装python第三方库
一、pip命令安装不了的第三方库,可进入python官网下载包https://www.python.org/
二、下载到本地 通过命令行安装
1.cd 路径(文件夹直接拖过来) cd /Users/cm/Downloads/yagmail2-0.15.281/yagmail2-0.15.281
2.sudo python3 /Users/cm/Downloads/yagmail2-0.15.281/yagmail2-0.15.281/setup.py install
pip升级命令:
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install –upgrade pip -i https://pypi.mirrors.ustc.edu.cn/simple
原创文章,作者:,如若转载,请注明出处:https://blog.ytso.com/276232.html