gpt4 book ai didi

python - pip 没有安装我的数据文件。但是 easy_install 确实

转载 作者:太空狗 更新时间:2023-10-30 02:49:23 28 4
gpt4 key购买 nike

这将是一个简短的问题。

来源在这里:https://github.com/exhuma/grc

标题解释了我的问题;)

我注册并上传了包到pypi。现在,如果我运行 easy_install grc,它会按预期工作。但是如果我运行 pip install grc,它会正确安装,但不会安装 data_files。我不明白为什么会这样。有什么想法吗?

最佳答案

可能文件没有安装在您期望的路径中。在 Ubuntu 11.10 中,我在 /usr/local/configs 下看到它们,因为它可以在 pip uninstall 输出中看到:

$ sudo pip uninstall grc
Uninstalling grc:
/usr/local/bin/grc
/usr/local/configs/apache_access.yml
/usr/local/configs/aptitude.yml
/usr/local/configs/pysetup.yml
/usr/local/lib/python2.7/dist-packages/grc
/usr/local/lib/python2.7/dist-packages/grc-1.0b3.egg-info
Proceed (y/n)?

在您的系统中,我想您还可以检查 pip uninstall 的输出以确保。

关于python - pip 没有安装我的数据文件。但是 easy_install 确实,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8471507/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com