首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Codenvy上安装matplotlib

在Codenvy上安装matplotlib
EN

Stack Overflow用户
提问于 2015-04-08 02:55:42
回答 1查看 1.3K关注 0票数 0

谁有在Codenvy(https://codenvy.com)上安装matplotlib的经验?

在尝试运行我的应用程序时,我一直收到以下错误:

代码语言:javascript
复制
[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包含:

代码语言:javascript
复制
numpy
matplotlib
EN

回答 1

Stack Overflow用户

发布于 2015-04-09 00:19:57

输出如下:

matplotlib:是1.4.3 python:是[2.7.9 (默认,2015 -03-1 12:57:24) GCC 4.9.2] platform:是linux2

所需的依赖项和扩展

numpy:是的,找不到。pip可以在下面安装它。

six:是的,six不是,found.pip会在matplotlib之后尝试安装它。

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

龙卷风:是的,没有发现龙卷风。这对于WebAgg后端是必需的。pip/easy_install可能会尝试在matplotlib之后安装它。

pyparsing:是的,没有找到pyparsing。它是数学文本支持所必需的。pip/easy_install可能会尝试在matplotlib之后安装它。pycxx:是,无法导入。使用本地副本。

libagg:找不到'libagg‘的pkg-config信息。使用本地副本。

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

png:找不到'libpng‘的pkg-config信息。

qhull:没有找到'qhull‘的pkg-config信息。使用本地副本。

缺少某些依赖项。

看看类似的线程:

Matplotlib compilation error: TypeError: unorderable types: str() < int()

Installing matplotlib and its dependencies without root privileges

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29499100

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档