0

brew install pythonで失敗する

AttributeError: 'module' object has no attribute 'BufferedIOBase'

誰かがこれが何を意味するのか考えていますか?

完全な出力は以下のとおりです。

==> Downloading http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
Already downloaded: /Library/Caches/Homebrew/python-2.7.3.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/python/2.7.3 --enable-ipv6 --dataroot
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.3
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.3/sha
==> Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0
Already downloaded: /Library/Caches/Homebrew/distribute-0.6.30.tar.gz
==> /usr/local/Cellar/python/2.7.3/bin/python -s setup.py --no-user-cfg install 
  File "/private/tmp/__UNKNOWN__-iM08/distribute-0.6.30/setuptools/command/easy_install.py", line 18, in <module>
    import zipfile
  File     "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py", line 464, in <module>
    class ZipExtFile(io.BufferedIOBase):
 AttributeError: 'module' object has no attribute 'BufferedIOBase'
4

1 に答える 1

0

github / homebrew の人々は、私が削除することを提案/usr/local/lib/python2.7/しました。その後、brew install pythonもう一度働きました。

于 2012-12-18T04:14:06.017 に答える