Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/350.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在Cygwin上安装freetype(matplotlib的先决条件):任务不可能?_Python_Matplotlib_Cygwin_Freetype_Freetype2 - Fatal编程技术网

Python 在Cygwin上安装freetype(matplotlib的先决条件):任务不可能?

Python 在Cygwin上安装freetype(matplotlib的先决条件):任务不可能?,python,matplotlib,cygwin,freetype,freetype2,Python,Matplotlib,Cygwin,Freetype,Freetype2,我未能在Cygwin上安装freetype(这是matplotlib的先决条件),,尽管我遵循了上的说明,并在结果的前几页上提出了所有建议,尤其是这个 有谁能详细说明他们在Cygwin上成功安装了freetype/matplotlib? 我的设置: Cygwin 1.7.35(0.287/5/3)i686 我做了什么? 在Cygwin的安装程序(setup-x86.exe)中,我输入了freetype和pkg config,,并安装了所有找到的软件包(及其依赖项) 然后: $apt

我未能在
Cygwin上安装
freetype
(这是
matplotlib的先决条件)
,尽管我遵循了上的说明,并在结果的前几页上提出了所有建议,尤其是这个

有谁能详细说明他们在
Cygwin
上成功安装了
freetype/matplotlib

我的设置:

  • Cygwin 1.7.35(0.287/5/3)i686

我做了什么?

  • 在Cygwin的安装程序(setup-x86.exe)中,我输入了
    freetype
    pkg config,
    ,并安装了所有找到的软件包(及其依赖项)

  • 然后:

    $apt cyg搜索自由类型
    正在搜索下载的软件包。。。
    cygwin64-freetype2
    girepository-x11
    libfontconfig-devel
    libfreetype-devel
    libfreetype文档
    libfreetype6

  • 以及:

    cygwin64-FREETYPE 2 girepository-x11 libfontconfig devel libfreetype devel libfreetype doc libfreetype6中的i的
    $;做回显“$i”;apt cyg安装$i;完成

    cygwin64-freetype2
    已安装程序包cygwin64-freetype2,正在跳过
    girepository-x11
    已安装程序包girepository-x11,正在跳过
    libfontconfig-devel
    已安装程序包libfontconfig-devel,正在跳过
    libfreetype-devel
    已安装程序包libfreetype-devel,正在跳过
    libfreetype文档
    已安装程序包libfreetype doc,正在跳过
    libfreetype6
    已安装程序包libfreetype6,正在跳过

    $apt cyg安装程序包配置
    软件包包配置已安装,正在跳过

  • 验证:

    $freetype配置--版本
    17.4.11

  • 因此,我的Cygwin中似乎安装了freetype。

  • 唉:

    $easy\u安装matplotlib
    搜索matplotlib
    阅读https://pypi.python.org/simple/matplotlib/
    阅读http://matplotlib.org
    阅读http://matplotlib.sourceforge.net
    阅读http://sourceforge.net/project/showfiles.php?group_id=80706
    阅读http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
    阅读http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/
    阅读http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/
    阅读https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
    阅读https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
    阅读https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/
    阅读https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3/
    阅读https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0
    阅读https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/
    最佳匹配:matplotlib 1.4.3
    正在下载https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267
    处理matplotlib-1.4.3.tar.gz
    正在编写/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/easy_install-D6sdBX/matplotlib-1.4.3/setup.cfg
    运行matplotlib-1.4.3/setup.py-q bdist_egg--dist dir/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp/easy_install-D6sdBX/matplotlib-1.4.3/egg-dist-tmp-q6Vh0z
    重要警告:
    未安装pkg配置。
    matplotlib可能无法找到其某些依赖项
    ===========================================================================
    编辑setup.cfg以更改生成选项

    构建MATPLOTLIB
    matplotlib:是[1.4.3]
    python:yes[2.7.8(默认值,2014年7月28日01:34:03)[GCC]
    4.8.3]]
    平台:是[cygwin]

    所需的依赖项和扩展
    numpy:是[版本1.9.2]
    六:是[使用六个版本1.9.0]
    dateutil:是[dateutil未找到。它是日期所必需的
    轴支持。pip/easy_安装可尝试
    在matplotlib之后安装。]
    pytz:是[使用pytz 2015.2版]
    tornado:是[未发现tornado。这是
    WebAgg backend.pip/easy\u安装可能会尝试
    在matplotlib之后安装。]
    pyparsing:是[pyparsing未找到。它是
    mathtext支持。pip/easy\u安装可能会尝试
    在matplotlib之后安装。]
    pycxx:是[无法导入。使用本地副本。]
    libagg:是[无法获取'libagg'的包装配置信息]
    无法找到。请使用本地副本。]
    freetype:no[freetype2(ft2build.h)的C/C++头文件]
    找不到。您可能需要安装
    开发包。]
    巴布亚新几内亚:是[版本1.6.17]
    qhull:是[无法获取'qhull'的包装配置信息]
    找到。使用本地副本。]

    可选子包
    样本数据:是[安装]
    工具包:是[安装]
    测试:是[nose 0.11.1或更高版本要求运行
    matplotlib测试套件。pip/easy_安装可能会尝试
    要在matplotlib./mock之后安装它,需要
    运行matplotlib测试套件。pip/easy\u安装
    可尝试在matplotlib之后安装。]
    工具箱_测试:是[nose 0.11.1或更高版本是运行
    matplotlib测试套件。pip/easy_安装可能会尝试
    要在matplotlib./mock之后安装它,需要