pip没有安装我的data_文件。但简单安装就可以了

2024-10-01 09:26:09 发布

您现在位置:Python中文网/ 问答频道 /正文

这将是一个简短的问题。在

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

标题解释了我的问题;)

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


Tags: installpiphttpsgithubpypicom标题数据文件
1条回答
网友
1楼 · 发布于 2024-10-01 09:26:09

可能文件没有按照您期望的路径安装。在ubuntu11.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的输出以确保。在

相关问题 更多 >