brewのgit archive-allでエラーが出る時の対処
症状: こんなエラーが出る
$ git archive-all --prefix=pf3gnuchains-20140426 pf3gnuchains-20140426.tgz
Traceback (most recent call last):
File "/usr/local/bin/git-archive-all", line 432, in <module>
help="prepend PREFIX to each filename in the archive. OUTPUT_FILE name is used by default to avoid tarbomb")
File "/Users/monaka/.pythonbrew/pythons/Python-2.7/lib/python2.7/optparse.py", line 1018, in add_option
raise TypeError, "invalid arguments"
TypeError: invalid arguments
対処: オレオレPythonを切る
たぶん,brew が管轄していないPythonが悪さをしている.pythonbrew の場合は,下記のようにして,一時的にオレオレ Python を無効にする.
pythonbrew off
Author And Source
この問題について(brewのgit archive-allでエラーが出る時の対処), 我々は、より多くの情報をここで見つけました https://qiita.com/monamour555/items/6aed5de15f701dc09180著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .