Win 2.7上的Python 2.7.10 64位 - lib / test hangup

时间:2015-11-21 14:57:33

标签: python python-2.7

我是python的新手。我需要运行getmail。经过大量的错误消息后,我首先减少了在lib / test下运行测试的声明: python .\test\regrtest.py -v -M 2.0Gb -uall,-bsddb,-largefile

我从其中一些人那里得到了失败的信息,但是:

test test_re failed -- Traceback (most recent call last):
  File "F:\python27_64\lib\test\test_support.py", line 1287, in wrapper
    return f(self, maxsize)
  File "F:\python27_64\lib\test\test_re.py", line 973, in test_large_search
    s = 'a' * size
OverflowError: cannot fit 'long' into an index-sized integer

Warning -- files was modified by test_sax
test test_shutil failed -- Traceback (most recent call last):
  File "F:\python27_64\lib\test\test_shutil.py", line 138, in test_rmtree_dont_delete_file
    handle, path = tempfile.mkstemp()
  File "F:\python27_64\lib\tempfile.py", line 314, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
  File "F:\python27_64\lib\tempfile.py", line 245, in _mkstemp_inner
    _set_cloexec(fd)
  File "F:\python27_64\lib\tempfile.py", line 50, in _set_cloexec
    flags = _fcntl.fcntl(fd, _fcntl.F_GETFD, 0)
AttributeError: 'module' object has no attribute 'F_GETFD'

python是挂断: - (

欢迎所有想法

0 个答案:

没有答案