我正在尝试安装gamry-parser(https://pypi.org/project/gamry-parser/)软件包。
但是,命令窗口无法在其查找的位置中找到requirements.txt。我试图搜索它正在我的计算机中搜索的路径,但似乎不存在(
IOError: [Errno 2] No such file or directory: 'requirements.txt'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
谢谢。
答案 0 :(得分:1)
gamry-parser
0.4.1 provides适用于Python 3的滚轮和将用于Python 2.7的源dist。我对其进行了测试-装有Python 3.7的轮子,没问题。
问题出在Python 2.7和源代码发行版上-sdist缺少requirements.txt
。要解决此问题,他们需要添加文件MANIFEST.in
:
echo include requirements.txt > MANIFEST.in
git add MANIFEST.in
git commit -m "Add MANIFEST.in for sdist"
请report the issue或发送拉取请求。