尝试
pip install tornado-botocore
它说:
pip.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
setup.py中的代码:
REQUIREMETS = [str(r.req) for r in parse_requirements('requirements.txt')]
setup(
...
package_data={'': ['requirements.txt']},
install_requires=REQUIREMETS,
)
对此有何想法?
答案 0 :(得分:5)
将requirements.txt
添加到MANIFEST.in
。