在Ubuntu/Debian上,我在从源代码安装软件包时使用checkinstall软件包
sudo checkinstall make install
或
sudo checkinstall python setup.py install
我的问题是,使用setuptools (修改easy-install.pth文件)的Python包无法正确安装,因为checkinstall要求覆盖使用它的每个新Python包的easy-install.pth。
我知道我可以使用pip install <package>,但是由Debian打包系统协调的依赖项,如果没有处理这个包,至少在缺乏更好的知识的情况下,checkinstall不会“看到”这个包。
我希望我的术语是正确的,我想知道这个问题是否能以某种方式得到解决,我问自己:
setuptools的setuptools包一起工作,或者setuptools的python setup.py install命令或类似的?H 218f 219避免向easy-install.pth写入?)发布于 2014-05-16 13:44:57
你可以用这个:
checkinstall --exclude /usr/local/lib/python2.7/dist-packages/easy-install.pthhttps://stackoverflow.com/questions/7744758
复制相似问题