在Codenvy上安装matplotlib [英] Installing matplotlib on Codenvy

查看:114
本文介绍了在Codenvy上安装matplotlib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都有在Codenvy( https://codenvy.com )上安装matplotlib的经验吗?

Anyone have experience installing matplotlib on Codenvy(https://codenvy.com)?

在运行我的应用程序时,我不断收到以下错误消息:

I keep getting following errors trying to run my application:

[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包含:

My requirements.txt contains:

numpy
matplotlib

推荐答案

输出如下:

matplotlib:是[1.4.3] python:是[2.7.9(默认,2015年3月1日,12:57:24)[GCC 4.9.2]]平台:是[linux2]

matplotlib: yes [1.4.3] python: yes [2.7.9 (default, Mar 1 2015, 12:57:24) [GCC 4.9.2]] platform: yes [linux2]

所需的依赖项和扩展名

numpy:找不到. pip可以在下面安装它.

numpy: yes not found. pip may install it below.

6:是的,没有找到6.pip将在matplotlib之后尝试安装它.

six: yes six was not found.pip will attempt to install it after matplotlib.

dateutil:是,找不到dateutil.它是日期轴支持所必需的. pip/easy_install可能会在matplotlib之后尝试安装它.] pytz:是的,未找到pytz. pip将在matplotlib之后尝试安装它.

dateutil: yes dateutil was not found. It is required for date axis support. pip/easy_install may attempt to install it after matplotlib.] pytz: yes pytz was not found. pip will attempt to install it after matplotlib.

龙卷风:是的,没有找到龙卷风. WebAgg后端需要它. pip/easy_install可能会在matplotlib之后尝试安装它.

tornado: yes tornado was not found. It is required for the WebAgg backend. pip/easy_install may attempt to install it after matplotlib.

pyparsing:是的,没有发现pyparsing.它是Mathtext支持所必需的. pip/easy_install可能会在matplotlib之后尝试安装它. pycxx:是,无法导入.使用本地副本.

pyparsing: yes pyparsing was not found. It is required for mathtext support. pip/easy_install may attempt to install it after matplotlib. pycxx: yes Couldn't import. Using local copy.

libagg:是的,找不到'libagg'的pkg-config信息.使用本地副本.

libagg: yes pkg-config information for 'libagg' could not be found. Using local copy.

freetype:否找不到freetype2的C/C ++标头(ft2build.h).您可能需要安装开发包.

freetype: no The C/C++ header for freetype2 (ft2build.h) could not be found. You may need to install the development package.

png:找不到"libpng"的pkg-config信息.

png: no pkg-config information for 'libpng' could not be found.

qhull:是,找不到'qhull'的pkg-config信息.使用本地副本.

qhull: yes pkg-config information for 'qhull' could not be found. Using local copy.

缺少某些依赖项.

看看类似的线程:

Matplotlib编译错误:TypeError:无法排序的类型:str()< ; int()

在没有root特权的情况下安装matplotlib及其依赖项

这篇关于在Codenvy上安装matplotlib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆