
python安装aip包
1. 出错
需要进行文字识别,所以要安装aip包。但是无法安装,cmd出错如下:
C:\\Users\\Administrator>python -m pip install aip Defaulting to user installation because normal site-packages is not writeable Looking in indexes: pypi.tuna.tsinghua.edu/simple ERROR: Could not find a version that satisfies the requirement aip ERROR: No matching distribution found for aip 2. 原因模块真实名字叫做baidu-aip,只是python中调用的时候用import aip。
3. 解决办法使用cmd安装baidu-aip:
C:\\Users\\Administrator>python -m pip install baidu-aip 4. 检测cmd查看电脑中现有的python包:
C:\\Users\\Administrator>pip list👁️ 阅读量:0
© 版权声明:本文《python安装aip包》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686774874a337052.html。