0
点赞
收藏
分享

微信扫一扫

No .egg-info directory found in xxx\pip-pip-egg-info-mq

眼君 2022-04-21 阅读 100
python
pip install fake_useragent

 WARNING: Ignoring invalid distribution -ip (d:\software\python\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (d:\software\python\lib\site-packages)
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting fake_useragent
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d1/79/af647635d6968e2deb57a208d309f6069d31cb138066d7e821e575112a80/fake-useragent-0.1.11.tar.gz (13 kB)
  Preparing metadata (setup.py) ... done
ERROR: No .egg-info directory found in C:\Users\Administrator\AppData\Local\Temp\pip-pip-egg-info-bv9lg3s5
WARNING: Ignoring invalid distribution -ip (d:\software\python\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (d:\software\python\lib\site-packages)

解决办法: 

清空python安装目录下的Lib\site-packages目录中的所有包,然后再执行。

pip install -U fake-useragent

 

举报

相关推荐

0 条评论