弹性豆茎-命令'/opt/python/run/venv/bin/pip安装-r/opt/python/ondeck/app/requirements.txt';返回非零退出状态1
试图使用git链接安装github上的包。为此,我在requirements.txt文件中包含了以下行:弹性豆茎-命令'/opt/python/run/venv/bin/pip安装-r/opt/python/ondeck/app/requirements.txt';返回非零退出状态1,python,amazon-web-services,pip,amazon-elastic-beanstalk,Python,Amazon Web Services,Pip,Amazon Elastic Beanstalk,试图使用git链接安装github上的包。为此,我在requirements.txt文件中包含了以下行: [-e] git+https://github.com/deribit/deribit-api-clients#egg=python 但是当我运行eb deploy-v CalledProcessError: Command '/opt/python/run/venv/bin/pip install -r /opt/python/ondeck/app/requirements.txt' r
[-e] git+https://github.com/deribit/deribit-api-clients#egg=python
但是当我运行eb deploy-v
CalledProcessError: Command '/opt/python/run/venv/bin/pip install -r /opt/python/ondeck/app/requirements.txt' returned non-zero exit status 1.
列出这样的需求的正确方式是什么?实例的Pip版本是9.0.3,我在
requirements.txt
中使用以下格式成功地安装了它:
git+git://github.com/deribit/deribit-api-clients.git#egg=openapi-client&subdirectory=python
对于测试,我使用了Python3.6AmazonLinux1EB环境
p、 美国。
git
是需要的,但我想您已经在安装它了