Skip to content

Instantly share code, notes, and snippets.

@sanemat
Created April 30, 2011 05:21
Show Gist options
  • Save sanemat/949448 to your computer and use it in GitHub Desktop.
Save sanemat/949448 to your computer and use it in GitHub Desktop.
pythonbrew install 2.6.6 is failed in mac os x
$ pythonbrew install 2.6.6
...
331 tests OK.
2 tests failed:
test_io test_locale
33 tests skipped:
test_al test_bsddb test_bsddb3 test_cd test_cl test_codecmaps_cn
test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr
test_codecmaps_tw test_curses test_dl test_epoll test_gdbm test_gl
test_imageop test_imgfile test_largefile test_linuxaudiodev
test_normalization test_ossaudiodev test_pep277 test_py3kwarn
test_smtpnet test_socketserver test_startfile test_sunaudiodev
test_timeout test_urllib2net test_urllibnet test_winreg
test_winsound test_zipfile64
1 skip unexpected on darwin:
test_dl
make: *** [test] Error 1
$ pythonbrew --version
0.7.1
$ less ~/.pythonbrew/log/build.log
test_io
Testing large file ops skipped on darwin.
It requires 2147483648 bytes and a long time.
Use 'regrtest.py -u largefile test_io' to run it.
test test_io failed -- multiple errors occurred; run in verbose mode for details
test_ioctl
test_locale
test test_locale failed -- Traceback (most recent call last):
File "/Users/sane/.pythonbrew/build/Python-2.6.6/Lib/test/test_locale.py", line 349, in test_getpreferredencoding
codecs.lookup(enc)
LookupError: unknown encoding: x-mac-japanese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment