2021/12/24
【windows】
今天windows本地装包时候遇到的问题,记录下
1.ERROR: Could not install packages due to an OSError: [WinError 5].
解决方法:以管理员权限运行cmd,再执行一次即可成功。
找的话本地找到图中路径的cmd,右键管理员身份运行即可。
如果在服务器上装包遇到这种情况可以在pip install后加个--user再加包名
当然,因为马虎还遇到了
Could not find a version that satisfies the requirement
这种时候可以检查一下你的包名有没有拼写错误,我这里其实应该是embedding,然后就搞定了
12/30
xlrd.biffh.XLRDError: Excel xlsx file; not supported
因为xlrd版本迭代只支持.xls文件
装个老版本就好了
pip install xlrd==1.2.0