Matplotlib cygEGL-1.dll已被占用

Matplotlib cygEGL-1.dll已被占用,matplotlib,cygwin,Matplotlib,Cygwin,我正试图在Cygwin上安装matplotlib,但在安装时出现错误: 0 [main] python2.7 2968 child_info_fork::abort: address space needed by 'cygEGL-1.dll' (0x420000) is already occupied 我已经尝试关闭所有进程,重新启动电脑并重新启动。这没有帮助 以下是完整的日志: $ python setup.py install =============================

我正试图在Cygwin上安装
matplotlib
,但在安装时出现错误:

0 [main] python2.7 2968 child_info_fork::abort: address space needed by 'cygEGL-1.dll' (0x420000) is already occupied
我已经尝试关闭所有进程,重新启动电脑并重新启动。这没有帮助

以下是完整的日志:

$ python setup.py install
============================================================================
Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [1.4.3]
                python: yes [2.7.8 (default, Jul 28 2014, 01:34:03)  [GCC
                        4.8.3]]
              platform: yes [cygwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.7.2]
                   six: yes [using six version 1.7.3]
              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.]
               tornado: yes [tornado was not found. It is required for the
                        WebAgg backend. pip/easy_install may attempt to
                        install it after matplotlib.]
             pyparsing: yes [using pyparsing version 2.0.3]
                 pycxx: yes [Using system CXX (version unknown, no pkg-
                        config info)]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: yes [version 2.5.5]
                   png: yes [version 1.6.17]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: yes [nose 0.11.1 or later is required to run the
                        matplotlib test suite.  pip/easy_install may attempt
                        to install it after matplotlib. / mock is required
                        to run the matplotlib test suite.  pip/easy_install
                        may attempt to install it after matplotlib.]
        toolkits_tests: yes [nose 0.11.1 or later is required to run the
                        matplotlib test suite.  pip/easy_install may attempt
                        to install it after matplotlib. / mock is required
                        to run the matplotlib test suite.  pip/easy_install
                        may attempt to install it after matplotlib.]

OPTIONAL BACKEND EXTENSIONS
      0 [main] python2.7 2968 child_info_fork::abort: address space needed by 'cygEGL-1.dll' (0x420000) is already occupied
Traceback (most recent call last):
  File "setup.py", line 155, in <module>
    result = package.check()
  File "/usr/src/matplotlib-1.4.3/setupext.py", line 503, in check
    additional_info = self.check_requirements()
  File "/usr/src/matplotlib-1.4.3/setupext.py", line 1642, in check_requirements
    ext = self.get_extension()
  File "/usr/src/matplotlib-1.4.3/setupext.py", line 1663, in get_extension
    self.add_flags(ext)
  File "/usr/src/matplotlib-1.4.3/setupext.py", line 1724, in add_flags
    pkg_config.setup_extension(ext, 'pygtk-2.0')
  File "/usr/src/matplotlib-1.4.3/setupext.py", line 296, in setup_extension
    stderr=subprocess.STDOUT)
  File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child
    self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
$python setup.py安装
============================================================================
编辑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.7.2]
六:是[使用六个版本1.7.3]
dateutil:是[dateutil未找到。它是日期所必需的
轴支持。pip/easy_安装可尝试
在matplotlib之后安装。]
pytz:是[pytz未找到。pip将尝试安装
在matplotlib之后添加。]
tornado:是[未发现tornado。这是
WebAgg backend.pip/easy\u安装可能会尝试
在matplotlib之后安装。]
pyparsing:是[使用pyparsing版本2.0.3]
pycxx:是[使用系统CXX(版本未知,无包装-
配置信息)]
libagg:是[无法获取'libagg'的包装配置信息]
无法找到。请使用本地副本。]
freetype:是[版本2.5.5]
巴布亚新几内亚:是[版本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之后安装它,需要
运行matplotlib测试套件。pip/easy\u安装
可尝试在matplotlib之后安装。]
可选后端扩展
0[main]python2.7 2968子对象信息分支::中止:“cygEGL-1.dll”(0x420000)所需的地址空间已被占用
回溯(最近一次呼叫最后一次):
文件“setup.py”,第155行,在
结果=包。检查()
文件“/usr/src/matplotlib-1.4.3/setupext.py”,第503行,检查中
附加信息=自我检查要求()
检查要求中的文件“/usr/src/matplotlib-1.4.3/setupext.py”,第1642行
ext=self.get_扩展名()
文件“/usr/src/matplotlib-1.4.3/setupext.py”,第1663行,在get_扩展名中
self.add_标志(ext)
文件“/usr/src/matplotlib-1.4.3/setupext.py”,第1724行,在添加标志中
包装配置设置扩展(分机'pygtk-2.0')
文件“/usr/src/matplotlib-1.4.3/setupext.py”,第296行,在setup\u扩展名中
stderr=subprocess.STDOUT)
文件“/usr/lib/python2.7/subprocess.py”,第566行,在check_输出中
进程=Popen(stdout=PIPE,*popenargs,**kwargs)
文件“/usr/lib/python2.7/subprocess.py”,第710行,在__
错误读取,错误写入)
文件“/usr/lib/python2.7/subprocess.py”,第1223行,在执行子进程中
self.pid=os.fork()
OSError:[Errno 11]资源暂时不可用

接下来我可以做什么?

您的问题可能来自后端配置。我建议您禁用
setup.py
中的每个后端,但
窗口
允许您使用
Wx
后端进行绘图。这些库在Cygwin上提供。您应该不需要Gtk或Tk