我正在尝试在Heroku上托管我的Bottle应用程序。该应用程序使用OpenCV。
我尝试使用可用的自定义buildpack,但是我收到以下错误,应用程序崩溃了。
2017-04-19T16:46:56.977606+00:00 heroku[web.1]: Process exited with status 1
2017-04-19T16:46:56.861136+00:00 app[web.1]: ImportError: No module named site
2017-04-19T16:46:56.992302+00:00 heroku[web.1]: State changed from starting to crashed
尝试了link中的解决方案和那里的指针,但无法解决它
构建日志看起来并不令人信服:
Python + OpenCV + Numpy + Scipy app detected
cp: ‘/tmp/build_23d686801ba84fdb080f034e9c7976a5/.heroku/python’ and ‘/app/.heroku/python’ are the same file
-----> Generating environment
Fetching...
Unpacking...
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
-----> Found requirements.txt, installing dependencies using pip
/app/tmp/buildpacks/6d14a3412dcdb0901c57e73e48ec9af7391889a6a8ae9eafff2088dea5ddcd7dc5f2da12110056dc6e443347c536c173b8187008e003291c29f8a6d30faa87a1/bin/compile: line 84: /app/.heroku/vendor/bin/pip: No such file or directory
-----> Creating environment variables.
-----> Buildpack installed.
-----> Discovering process types
Procfile declares types -> web
-----> Compressing...
Done: 41.7M
-----> Launching...
Released v6
https://tncs.herokuapp.com/ deployed to Heroku
请帮忙!