[英]Can't install anything with pip - missing coloredlogs/METADATA
I'm currently building a chatbot for my exam at school and apparently pip
decided to stop working. 我目前正在为学校考试建立聊天机器人,显然
pip
决定停止工作。 When I try to install a package/dependency I get the following errormessage: 当我尝试安装软件包/依赖项时,出现以下错误消息:
No metadata found in ./anaconda3/lib/python3.6/site-packages
Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/home/fredarch/anaconda3/lib/python3.6/site-packages/coloredlogs-10.0.dist-info/METADATA'
Same thing happens when I use the command pip show coloredlogs
当我使用命令
pip show coloredlogs
发生同样的事情
You should probably re-install coloredlogs with conda: 您可能应该使用conda重新安装coloredlogs:
conda install coloredlogs
after this you should be able to use pip to install packages once again. 之后,您应该可以再次使用pip安装软件包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.