0

我正在尝试按照https://github.com/GalSim-developers/GalSim/blob/master/INSTALL.md#0-overall-summaryscons tests上的说明安装 Galsim,但是当我到达该部分时,不断收到以下类型错误。

    Starting python tests...
    scons: *** [tests/tests.log] TypeError : write() argument must be str, not bytes
    Traceback (most recent call last):
    File "/Users/lorena/anaconda3/lib/scons-3.0.0/SCons/Action.py", line 1197, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
    File "/Users/lorena/git/GalSim/tests/SConscript", line 81, in run_tests
    sys.stdout.write(buf)
    TypeError: write() argument must be str, not bytes
    scons: building terminated because of errors.

我正在使用python 3.6。

4

0 回答 0