开源无线网络-OpenXG

标题: Pistache报错问题 [打印本页]

作者: yangj    时间: 2021-1-25 17:21
标题: Pistache报错问题
本帖最后由 yangj 于 2021-1-25 17:46 编辑

[attach]81[/attach]

解决办法:





作者: ChenyuZhang    时间: 2021-2-2 17:17

作者: LYHCL    时间: 2021-5-7 16:57
请问SMF在安装依赖时,nghttp2报错,应该怎么解决?
make[2]: 离开目录“/home/ly/oai-cn5g-smf/build/ext/nghttp2/examples”
Making all in python
make[2]: 进入目录“/home/ly/oai-cn5g-smf/build/ext/nghttp2/python”
cython -3 -o nghttp2.c nghttp2.pyx
Traceback (most recent call last):
  File "/usr/bin/cython", line 8, in <module>
    main(command_line = 1)
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 720, in main
    result = compile(sources, options)
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 695, in compile
    return compile_multiple(source, options)
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 666, in compile_multiple
    context = options.create_context()
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 589, in create_context
    return Context(self.include_path, self.compiler_directives,
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 75, in __init__
    from . import Builtin, CythonScope
  File "/usr/lib/python3/dist-packages/Cython/Compiler/CythonScope.py", line 5, in <module>
    from .UtilityCode import CythonUtilityCode
  File "/usr/lib/python3/dist-packages/Cython/Compiler/UtilityCode.py", line 3, in <module>
    from .TreeFragment import parse_from_strings, StringParseContext
  File "/usr/lib/python3/dist-packages/Cython/Compiler/TreeFragment.py", line 17, in <module>
    from .Visitor import VisitorTransform
  File "/usr/lib/python3/dist-packages/Cython/Compiler/Visitor.py", line 15, in <module>
    from . import ExprNodes
  File "/usr/lib/python3/dist-packages/Cython/Compiler/ExprNodes.py", line 2844
    await = None
          ^
SyntaxError: invalid syntax
Makefile:557: recipe for target 'nghttp2.c' failed
make[2]: *** [nghttp2.c] Error 1
make[2]: 离开目录“/home/ly/oai-cn5g-smf/build/ext/nghttp2/python”
Makefile:569: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: 离开目录“/home/ly/oai-cn5g-smf/build/ext/nghttp2”
Makefile:478: recipe for target 'all' failed
make: *** [all] Error 2
/tmp
Error: SMF deps installation failed





欢迎光临 开源无线网络-OpenXG (http://community.opensource5g.org/) Powered by Discuz! X3.2