Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/346.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
弹性豆茎-命令'/opt/python/run/venv/bin/pip安装-r/opt/python/ondeck/app/requirements.txt';返回非零退出状态1_Python_Amazon Web Services_Pip_Amazon Elastic Beanstalk - Fatal编程技术网

弹性豆茎-命令'/opt/python/run/venv/bin/pip安装-r/opt/python/ondeck/app/requirements.txt';返回非零退出状态1

弹性豆茎-命令'/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

试图使用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' 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
是需要的,但我想您已经在安装它了