|
如题,我解决不了哦!唉!还是python-update 升级半途失败!
File "/var/tmp/portage/dev-python/numpy-1.3.0-r1/work/numpy-1.3.0/numpy/distutils/command/build_src.py", line 307, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 438, in generate_umath_c
generate_umath.__file__))
File "numpy/core/code_generators/generate_umath.py", line 746, in make_code
code3 = make_ufuncs(funcdict)
File "numpy/core/code_generators/generate_umath.py", line 725, in make_ufuncs
docstring = docstring.encode('string-escape').replace(r'"', r'\"')
LookupError: no codec search functions registered: can't find encoding
* ERROR: dev-python/numpy-1.3.0-r1 failed:
* Building failed with Python 2.6 in building() function
*
* Call stack:
* ebuild.sh, line 55: Called src_compile
* environment, line 3448: Called distutils_src_compile
* environment, line 853: Called python_execute_function 'building'
* environment, line 3032: Called die
* The specific snippet of code:
* die "${failure_message}";
*
* If you need support, post the output of 'emerge --info =dev-python/numpy-1.3.0-r1',
* the complete build log and the output of 'emerge -pqv =dev-python/numpy-1.3.0-r1'.
* The complete build log is located at '/var/tmp/portage/dev-python/numpy-1.3.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/numpy-1.3.0-r1/temp/environment'.
* S: '/var/tmp/portage/dev-python/numpy-1.3.0-r1/work/numpy-1.3.0'
>>> Failed to emerge dev-python/numpy-1.3.0-r1, Log file:
>>> '/var/tmp/portage/dev-python/numpy-1.3.0-r1/temp/build.log'
* Messages for package dev-python/numpy-1.3.0-r1:
* ERROR: dev-python/numpy-1.3.0-r1 failed:
* Building failed with Python 2.6 in building() function
*
* Call stack:
* ebuild.sh, line 55: Called src_compile
* environment, line 3448: Called distutils_src_compile
* environment, line 853: Called python_execute_function 'building'
* environment, line 3032: Called die
* The specific snippet of code:
* die "${failure_message}";
*
* If you need support, post the output of 'emerge --info =dev-python/numpy-1.3.0-r1',
* the complete build log and the output of 'emerge -pqv =dev-python/numpy-1.3.0-r1'.
* The complete build log is located at '/var/tmp/portage/dev-python/numpy-1.3.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/numpy-1.3.0-r1/temp/environment'.
* S: '/var/tmp/portage/dev-python/numpy-1.3.0-r1/work/numpy-1.3.0'
* GNU info directory index is up-to-date. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|