Python使用安装类库错误及解决办法

时间:2025-01-23 08:02:16

1、Python使用安装类库 出现错误

pip install -r 

“No such file or directory: ‘’”
解决办法:cd 到这个文件下,再执行命令。
2、出现以下错误:
Could not find a version that satisfies the requirement pkg-resources=0.0.0 (from -r (line 2)) (from versions: ) No matching distribution found for pkg-resources==0.0.0 (from -r (line 2))
解决办法: 删除txt文件中对应的内容即可