有人有在 Codenvy(https://codenvy.com)上安装 matplotlib 的经验吗?
尝试运行我的应用程序时,我不断收到以下错误:
[DOCKER]le "/usr/lib/python3.4/distutils/version.py", line 343, in _cmp
[DOCKER]
[DOCKER]if self.version < other.version:
[DOCKER]
[DOCKER]Error: unorderable types: str() < int()
[DOCKER]
[DOCKER]------------------------------------
[DOCKER] Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-tcimm8pc/matplotlib
[DOCKER][ERROR] The command [/bin/sh -c cd /tmp/application && sudo virtualenv /env && sudo /env/bin/pip install -r requirements.txt] returned a non-zero code: 1
[ERROR] We are having trouble starting the runner and deploying application Python. Either necessary files are missing or a fundamental configuration has changed.
[ERROR] Unable to retrieve the application logs from the runner.: You tried to detect unknown message. Please, check your message. Your message: The command [/bin/sh -c cd /tmp/application && sudo virtualenv /env && sudo /env/bin/pip install -r requirements.txt] returned a non-zero code: 1
我的 requirements.txt 包含:
numpy
matplotlib