0

我试图从GitHub 源代码将我的应用程序部署到 IBM Bluemix 上。应用程序已启动,但出现以下错误:

2017-04-27T23:14:35.89-0700 [STG/0]      ERR DEPRECATION: --allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
2017-04-27T23:14:35.92-0700 [STG/0]      OUT        Processing ./custom-scorer
2017-04-27T23:14:36.44-0700 [STG/0]      ERR You are using pip version 8.1.1, however version 9.0.1 is available.
2017-04-27T23:14:36.44-0700 [STG/0]      ERR You should consider upgrading via the 'pip install --upgrade pip' command.
2017-04-27T23:14:36.91-0700 [STG/0]      ERR You are using pip version 8.1.1, however version 9.0.1 is available.
2017-04-27T23:15:15.79-0700 [STG/0]      OUT Exit status 0
2017-04-27T23:15:15.79-0700 [STG/0]      OUT Staging complete
2017-04-27T23:15:15.79-0700 [STG/0]      OUT Uploading droplet, build artifacts cache...
2017-04-27T23:15:15.79-0700 [STG/0]      OUT Uploading droplet...
2017-04-27T23:15:15.79-0700 [STG/0]      OUT Uploading build artifacts cache...
2017-04-27T23:15:17.52-0700 [STG/0]      OUT Uploaded build artifacts cache (54.4M)
2017-04-27T23:15:21.85-0700 [STG/0]      OUT Uploading complete
2017-04-27T23:15:21.93-0700 [STG/0]      OUT Destroying container
2017-04-27T23:15:22.62-0700 [CELL/0]     OUT Creating container
2017-04-27T23:15:28.50-0700 [STG/0]      OUT Successfully destroyed container
2017-04-27T23:15:39.36-0700 [CELL/0]     OUT Starting health monitoring of container
2017-04-27T23:15:41.18-0700 [APP/0]      OUT Uploaded stats: {"ok":true}
2017-04-27T23:15:41.18-0700 [APP/0]      OUT Starting with SHOW_DEFAULT_RANKER set to FALSE on port: 8080 on host : 0.0.0.0
2017-04-27T23:15:41.21-0700 [APP/0]      ERR  * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)

但是我已经安装了最新版本的 pip:

hduser@ubuntu:~$ python --version
Python 2.7.13 :: Anaconda 4.3.1 (32-bit)
hduser@ubuntu:~$ pip --version 
pip 9.0.1 from /home/hduser/anaconda2/lib/python2.7/site-packages (python 2.7)

如何解决这个问题?

4

1 回答 1

0

错误或警告消息不在您的机器上,而是在 Bluemix 上的 buildpack 环境中。您无法更新该环境。

绕过pip-related 消息的唯一方法是使用另一个 buildpack。pipStackoverflow 上已经讨论了关于 IBM Bluemix 的类似内容。

于 2017-04-28T06:43:16.197 回答