Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/322.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
Python Openshift已成功下载和收集,但无法生成_Python_Openshift - Fatal编程技术网

Python Openshift已成功下载和收集,但无法生成

Python Openshift已成功下载和收集,但无法生成,python,openshift,Python,Openshift,我尝试在这个存储库的openshift中启动一个仍然在本地工作的应用程序 我选择用Python而不是Django+PostreSQL对其进行打包,因为我没有使用Django来开发在其他地方(以及我的生活)使用Flask的应用程序 但我无法从日志中找到错误: Log from Jun 13, 2018 5:36:32 PM to Jun 13, 2018 5:41:59 PM: Cloning "https://github.com/antoinecomp/moodbot " ... C

我尝试在这个存储库的openshift中启动一个仍然在本地工作的应用程序

我选择用Python而不是Django+PostreSQL对其进行打包,因为我没有使用Django来开发在其他地方(以及我的生活)使用Flask的应用程序

但我无法从日志中找到错误:

Log from Jun 13, 2018 5:36:32 PM to Jun 13, 2018 5:41:59  PM:
Cloning "https://github.com/antoinecomp/moodbot " ...
    Commit: 8097e1fa24416fcad4ee480ff67042e84e21f8fe (added the test file)
    Author: Your Name <antoine.coppin@dauphine.eu>
    Date:   Sat Jun 9 15:13:24 2018 +0100
Pulling image "registry.access.redhat.com/rhscl/python-35-rhel7@sha256:475605d0be481c376fb52decc18c490122ddddb1fcaa81a1eabb40b735068500" ...
---> Installing application source ...
---> Installing dependencies ...
Collecting git+https://github.com/apixu/apixu-python.git  (from -r requirements.txt (line 36))
Cloning https://github.com/apixu/apixu-python.git  to /tmp/pip-dh1nybxt-build
Collecting gevent==1.2.1 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/54/dd/17dc7e899ac7c1de2d19b367b29d90fdb4cfe83bda8c2581464906c9399d/gevent-1.2.1.tar.gz  (2.8MB)
Collecting Klein==17.2.0 (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/41/3d/9b3cc6913cf95b40af1972222c757927f26a442b3fd0e6cc652d2a622d94/klein-17.2.0-py2.py3-none-any.whl 
Collecting boto3==1.4.4 (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/91/60/649da03299624f524c8d0cd4c6c73c194023e85dd4938f1e7712ab6888bf/boto3-1.4.4-py2.py3-none-any.whl  (127kB)
Collecting typing==3.5.3.0 (from -r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/b6/0c/53c42edca789378b8c05a5496e689f44e5dd82bc6861d1ae5a926ee51b84/typing-3.5.3.0.tar.gz  (60kB)
Collecting future==0.16.0 (from -r requirements.txt (line 5))
Downloading https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz  (824kB)
Collecting six==1.10.0 (from -r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl 
Collecting jsonschema==2.6.0 (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl 
Collecting matplotlib==1.5.3 (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/75/4e/2374eed18ac34421ccd7b4907080abd3009e112ca2c11b100c18961312e0/matplotlib-1.5.3.tar.gz  (51.6MB)
Collecting requests==2.14.2 (from -r requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/e4/b0/286e8a936158e5cc5791d5fa3bc4b1d5a7e1ff4e5b3f3766b63d8e97708a/requests-2.14.2-py2.py3-none-any.whl  (560kB)
Collecting tqdm==4.11.2 (from -r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/b7/0d/174388e99e21ee2c91ea318994c3f8744e26158e43cff0ec9d045bf08a96/tqdm-4.11.2-py2.py3-none-any.whl  (46kB)
Collecting numpy==1.13.1 (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/c0/3a/40967d9f5675fbb097ffec170f59c2ba19fc96373e73ad47c2cae9a30aed/numpy-1.13.1.zip  (5.0MB)
Collecting simplejson==3.11.1 (from -r requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/08/48/c97b668d6da7d7bebe7ea1817a6f76394b0ec959cb04214ca833c34359df/simplejson-3.11.1.tar.gz  (78kB)
Collecting spacy==1.8.2 (from -r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/4a/aa/755943184fbde85b77f52f1f9f52621fdcdda67f74db4f60880e3468ee8b/spacy-1.8.2.tar.gz  (3.3MB)
Collecting scikit-learn==0.19.1 (from -r requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/f5/2c/5edf2488897cad4fb8c4ace86369833552615bf264460ae4ef6e1f258982/scikit-learn-0.19.1.tar.gz  (9.5MB)
Collecting sklearn-crfsuite==0.3.5 (from -r requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/b1/9a/e045ac8cdfc33d5972474ab2108662652098e63c08b657f32cbd53f77cee/sklearn_crfsuite-0.3.5-py2.py3-none-any.whl 
Collecting apscheduler==3.3.1 (from -r requirements.txt (line 16))
Downloading https://files.pythonhosted.org/packages/22/ff/eb9d27536f25253c09573cc7afc6db9708ea0abad02f5ac031b412d5cbda/APScheduler-3.3.1-py2.py3-none-any.whl  (56kB)
Collecting fakeredis==0.8.2 (from -r requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/07/02/164f5f34198ebd3418665ce17d70b33dae38f58c0b121ba37502ad4a33f4/fakeredis-0.8.2-py2.py3-none-any.whl 
Collecting graphviz==0.7.1 (from -r requirements.txt (line 18))
Downloading https://files.pythonhosted.org/packages/95/65/0460bcb4957e027ad31d351af170dd1759aee68c90ca598ee930ac115dd1/graphviz-0.7.1-py2.py3-none-any.whl 
Collecting h5py==2.7.0 (from -r requirements.txt (line 19))
Downloading https://files.pythonhosted.org/packages/11/6b/32cee6f59e7a03ab7c60bb250caff63e2d20c33ebca47cf8c28f6a2d085c/h5py-2.7.0.tar.gz (256kB)
记录时间为2018年6月13日下午5:36:32至2018年6月13日下午5:41:59:
克隆”https://github.com/antoinecomp/moodbot " ...
提交:8097e1fa24416fcad4ee480ff67042e84e21f8fe(添加了测试文件)
作者:你的名字
日期:2018年6月9日星期六15:13:24+0100
拉取图像“registry.access.redhat.com/rhscl/python-35-rhel7@sha256:475605D0BE481C376FB52DECC18C490122DDB1FCAA81A1EABB40B735068500”。。。
--->正在安装应用程序源。。。
--->正在安装依赖项。。。
集水罐+https://github.com/apixu/apixu-python.git  (来自-r requirements.txt(第36行))
克隆https://github.com/apixu/apixu-python.git  to/tmp/pip-dh1nybxt-build
收集gevent==1.2.1(来自-r requirements.txt(第1行))
正在下载https://files.pythonhosted.org/packages/54/dd/17dc7e899ac7c1de2d19b367b29d90fdb4cfe83bda8c2581464906c9399d/gevent-1.2.1.tar.gz  (2.8MB)
收集Klein==17.2.0(来自-r requirements.txt(第2行))
正在下载https://files.pythonhosted.org/packages/41/3d/9b3cc6913cf95b40af1972222c757927f26a442b3fd0e6cc652d2a622d94/klein-17.2.0-py2.py3-none-any.whl 
收集boto3==1.4.4(来自-r requirements.txt(第3行))
正在下载https://files.pythonhosted.org/packages/91/60/649da03299624f524c8d0cd4c6c73c194023e85dd4938f1e7712ab6888bf/boto3-1.4.4-py2.py3-none-any.whl  (127kB)
收集类型==3.5.3.0(来自-r requirements.txt(第4行))
正在下载https://files.pythonhosted.org/packages/b6/0c/53c42edca789378b8c05a5496e689f44e5dd82bc6861d1ae5a926ee51b84/typing-3.5.3.0.tar.gz  (60kB)
收集未来==0.16.0(来自-r requirements.txt(第5行))
正在下载https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz  (824kB)
收集六个==1.10.0(来自-r requirements.txt(第6行))
正在下载https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl 
收集jsonschema==2.6.0(来自-r requirements.txt(第7行))
正在下载https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl 
收集matplotlib==1.5.3(来自-r requirements.txt(第8行))
正在下载https://files.pythonhosted.org/packages/75/4e/2374eed18ac34421ccd7b4907080abd3009e112ca2c11b100c18961312e0/matplotlib-1.5.3.tar.gz  (51.6MB)
收集请求==2.14.2(来自-r requirements.txt(第9行))
正在下载https://files.pythonhosted.org/packages/e4/b0/286e8a936158e5cc5791d5fa3bc4b1d5a7e1ff4e5b3f3766b63d8e97708a/requests-2.14.2-py2.py3-none-any.whl  (560kB)
收集tqdm==4.11.2(来自-r requirements.txt(第10行))
正在下载https://files.pythonhosted.org/packages/b7/0d/174388e99e21ee2c91ea318994c3f8744e26158e43cff0ec9d045bf08a96/tqdm-4.11.2-py2.py3-none-any.whl  (46kB)
收集numpy==1.13.1(来自-r requirements.txt(第11行))
正在下载https://files.pythonhosted.org/packages/c0/3a/40967d9f5675fbb097ffec170f59c2ba19fc96373e73ad47c2cae9a30aed/numpy-1.13.1.zip  (5.0MB)
收集simplejson==3.11.1(来自-r requirements.txt(第12行))
正在下载https://files.pythonhosted.org/packages/08/48/c97b668d6da7d7bebe7ea1817a6f76394b0ec959cb04214ca833c34359df/simplejson-3.11.1.tar.gz  (78kB)
收集空间==1.8.2(来自-r requirements.txt(第13行))
正在下载https://files.pythonhosted.org/packages/4a/aa/755943184fbde85b77f52f1f9f52621fdcdda67f74db4f60880e3468ee8b/spacy-1.8.2.tar.gz  (3.3MB)
收集scikit学习==0.19.1(来自-r requirements.txt(第14行))
正在下载https://files.pythonhosted.org/packages/f5/2c/5edf2488897cad4fb8c4ace86369833552615bf264460ae4ef6e1f258982/scikit-learn-0.19.1.tar.gz  (9.5MB)
收集sklearn crfsuite==0.3.5(来自-r requirements.txt(第15行))
正在下载https://files.pythonhosted.org/packages/b1/9a/e045ac8cdfc33d5972474ab2108662652098e63c08b657f32cbd53f77cee/sklearn_crfsuite-0.3.5-py2.py3-none-any.whl 
收集apscheduler==3.3.1(来自-r requirements.txt(第16行))
正在下载https://files.pythonhosted.org/packages/22/ff/eb9d27536f25253c09573cc7afc6db9708ea0abad02f5ac031b412d5cbda/APScheduler-3.3.1-py2.py3-none-any.whl  (56kB)
收集fakeredis==0.8.2(来自-r requirements.txt(第17行))
正在下载https://files.pythonhosted.org/packages/07/02/164f5f34198ebd3418665ce17d70b33dae38f58c0b121ba37502ad4a33f4/fakeredis-0.8.2-py2.py3-none-any.whl 
收集图hviz==0.7.1(来自-r requirements.txt(第18行))
正在下载https://files.pythonhosted.org/packages/95/65/0460bcb4957e027ad31d351af170dd1759aee68c90ca598ee930ac115dd1/graphviz-0.7.1-py2.py3-none-any.whl 
收集h5py==2.7.0(来自-r requirements.txt(第19行))
正在下载https://files.pythonhosted.org/packages/11/6b/32cee6f59e7a03ab7c60bb250caff63e2d20c33ebca47cf8c28f6a2d085c/h5py-2.7.0.tar.gz (256kB)

这是内存错误吗?

因为日志显示它在依赖项下载过程中失败,所以我认为可以放心地说它与内存有关。尝试增加生成内存限制,以允许从生成一直到完成。从源代码安装numpy将导致内存耗尽。正如威尔所说,增加专门用于构建的内存量。你可以在免费的电子书中找到详细的操作方法。实际上,更简单的详细链接是@GrahamDumpleton,谢谢,我正在我的桌面上安装服务器。我刚收到一条关于Kubernetes的错误消息。
Log from Jun 13, 2018 5:36:32 PM to Jun 13, 2018 5:41:59  PM:
Cloning "https://github.com/antoinecomp/moodbot " ...
    Commit: 8097e1fa24416fcad4ee480ff67042e84e21f8fe (added the test file)
    Author: Your Name <antoine.coppin@dauphine.eu>
    Date:   Sat Jun 9 15:13:24 2018 +0100
Pulling image "registry.access.redhat.com/rhscl/python-35-rhel7@sha256:475605d0be481c376fb52decc18c490122ddddb1fcaa81a1eabb40b735068500" ...
---> Installing application source ...
---> Installing dependencies ...
Collecting git+https://github.com/apixu/apixu-python.git  (from -r requirements.txt (line 36))
Cloning https://github.com/apixu/apixu-python.git  to /tmp/pip-dh1nybxt-build
Collecting gevent==1.2.1 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/54/dd/17dc7e899ac7c1de2d19b367b29d90fdb4cfe83bda8c2581464906c9399d/gevent-1.2.1.tar.gz  (2.8MB)
Collecting Klein==17.2.0 (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/41/3d/9b3cc6913cf95b40af1972222c757927f26a442b3fd0e6cc652d2a622d94/klein-17.2.0-py2.py3-none-any.whl 
Collecting boto3==1.4.4 (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/91/60/649da03299624f524c8d0cd4c6c73c194023e85dd4938f1e7712ab6888bf/boto3-1.4.4-py2.py3-none-any.whl  (127kB)
Collecting typing==3.5.3.0 (from -r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/b6/0c/53c42edca789378b8c05a5496e689f44e5dd82bc6861d1ae5a926ee51b84/typing-3.5.3.0.tar.gz  (60kB)
Collecting future==0.16.0 (from -r requirements.txt (line 5))
Downloading https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz  (824kB)
Collecting six==1.10.0 (from -r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl 
Collecting jsonschema==2.6.0 (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl 
Collecting matplotlib==1.5.3 (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/75/4e/2374eed18ac34421ccd7b4907080abd3009e112ca2c11b100c18961312e0/matplotlib-1.5.3.tar.gz  (51.6MB)
Collecting requests==2.14.2 (from -r requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/e4/b0/286e8a936158e5cc5791d5fa3bc4b1d5a7e1ff4e5b3f3766b63d8e97708a/requests-2.14.2-py2.py3-none-any.whl  (560kB)
Collecting tqdm==4.11.2 (from -r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/b7/0d/174388e99e21ee2c91ea318994c3f8744e26158e43cff0ec9d045bf08a96/tqdm-4.11.2-py2.py3-none-any.whl  (46kB)
Collecting numpy==1.13.1 (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/c0/3a/40967d9f5675fbb097ffec170f59c2ba19fc96373e73ad47c2cae9a30aed/numpy-1.13.1.zip  (5.0MB)
Collecting simplejson==3.11.1 (from -r requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/08/48/c97b668d6da7d7bebe7ea1817a6f76394b0ec959cb04214ca833c34359df/simplejson-3.11.1.tar.gz  (78kB)
Collecting spacy==1.8.2 (from -r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/4a/aa/755943184fbde85b77f52f1f9f52621fdcdda67f74db4f60880e3468ee8b/spacy-1.8.2.tar.gz  (3.3MB)
Collecting scikit-learn==0.19.1 (from -r requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/f5/2c/5edf2488897cad4fb8c4ace86369833552615bf264460ae4ef6e1f258982/scikit-learn-0.19.1.tar.gz  (9.5MB)
Collecting sklearn-crfsuite==0.3.5 (from -r requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/b1/9a/e045ac8cdfc33d5972474ab2108662652098e63c08b657f32cbd53f77cee/sklearn_crfsuite-0.3.5-py2.py3-none-any.whl 
Collecting apscheduler==3.3.1 (from -r requirements.txt (line 16))
Downloading https://files.pythonhosted.org/packages/22/ff/eb9d27536f25253c09573cc7afc6db9708ea0abad02f5ac031b412d5cbda/APScheduler-3.3.1-py2.py3-none-any.whl  (56kB)
Collecting fakeredis==0.8.2 (from -r requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/07/02/164f5f34198ebd3418665ce17d70b33dae38f58c0b121ba37502ad4a33f4/fakeredis-0.8.2-py2.py3-none-any.whl 
Collecting graphviz==0.7.1 (from -r requirements.txt (line 18))
Downloading https://files.pythonhosted.org/packages/95/65/0460bcb4957e027ad31d351af170dd1759aee68c90ca598ee930ac115dd1/graphviz-0.7.1-py2.py3-none-any.whl 
Collecting h5py==2.7.0 (from -r requirements.txt (line 19))
Downloading https://files.pythonhosted.org/packages/11/6b/32cee6f59e7a03ab7c60bb250caff63e2d20c33ebca47cf8c28f6a2d085c/h5py-2.7.0.tar.gz (256kB)