简体   繁体   English

pip freeze省略了某些包

[英]pip freeze omits certain packages

At the moment, I have python-qt4 (binary packages) installed on my Ubuntu 12.10 through Ubuntu's repository. 目前,我通过Ubuntu的存储库在我的Ubuntu 12.10上安装了python-qt4(二进制包)。 If I run aptitude show python-qt4 , the result would be: 如果我运行aptitude show python-qt4 ,结果将是:

Package: python-qt4
State: installed
Automatically installed: no
...

However if I run pip freeze , I can't find PyQt nor PyQt4 entry from the output. 但是,如果我运行pip freeze ,我无法从输出中找到PyQt和PyQt4条目。 Does pip omit certain packages from its freeze command? pip是否从其freeze命令中省略了某些包? What is the cause of the problem? 问题的原因是什么?

你的python-qt4软件包没有.egg-info元数据文件,所以pip不可能知道它已安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM