Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/292.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 错误:RPC失败;curl6ssl读取:错误:00000000:lib(0):func(0):原因(0),错误_Python_Git_Heroku_Flask_Nltk - Fatal编程技术网

Python 错误:RPC失败;curl6ssl读取:错误:00000000:lib(0):func(0):原因(0),错误

Python 错误:RPC失败;curl6ssl读取:错误:00000000:lib(0):func(0):原因(0),错误,python,git,heroku,flask,nltk,Python,Git,Heroku,Flask,Nltk,我正在尝试在heroku上部署flask应用程序。具体来说,根据解决方案将NLTK数据发送到服务器。由于某种原因,我不断地犯这个错误。所以我试着创建一个新的Heroku项目并推进我的本地项目,但仍然遇到同样的错误 C:\Users\mysys\mywebservices-test\warm-sierra-60310>git push heroku mas ter Counting objects: 23005, done. Delta compression using up to 4 t

我正在尝试在heroku上部署flask应用程序。具体来说,根据解决方案将NLTK数据发送到服务器。由于某种原因,我不断地犯这个错误。所以我试着创建一个新的Heroku项目并推进我的本地项目,但仍然遇到同样的错误

C:\Users\mysys\mywebservices-test\warm-sierra-60310>git push heroku mas
ter
Counting objects: 23005, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (22954/22954), done.
error: RPC failed; curl 6 SSL read: error:00000000:lib(0):func(0):reason(0), err
no 10053
The remote end hung up unexpectedly/23005), 499.96 MiB | 20.00 KiB/s
Writing objects: 100% (23005/23005), 1017.63 MiB | 1.88 MiB/s, done.
Total 23005 (delta 14999), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date
这个项目在我的本地机器上运行得很好

C:\Users\mysys\mywebservices-test\warm-sierra-60310>python app.py
 * Running on http://127.0.0.1:5000/
 * Restarting with reloader
127.0.0.1 - - [06/Aug/2016 23:05:38] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [06/Aug/2016 23:05:40] "GET / HTTP/1.1" 200 -

有什么我可以试试的吗?如果有什么不清楚的地方,请告诉我。

我与您有类似的问题,最后通过以下方法解决:

看这里:

这个问题很可能是由于Git的缓冲区太低而导致的,这对于您的项目来说是不够的。也许您可以尝试增加Git的HTTP缓冲区

在git中尝试以下操作:

git config http.postBuffer 524288000
这将使Git的缓冲区增加到524288000