cygEGL-1.dll已被占用

时间:2015-09-17 09:38:45

标签: matplotlib cygwin

我正在尝试在Cygwin上安装matplotlib,但在安装时我收到错误:

0 [main] python2.7 2968 child_info_fork::abort: address space needed by 'cygEGL-1.dll' (0x420000) is already occupied

我已经尝试杀死所有进程,重新启动我的电脑和rebaseall。它没有帮助。

这是完整的日志:

$ 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

接下来我该怎么办?

1 个答案:

答案 0 :(得分:0)

您的问题可能来自后端配置。我建议您禁用setup.pywindowing的每个后端,允许您使用Wx后端进行绘图。这些库可以在Cygwin上找到。你不应该需要Gtk或Tk。