当前位置:   article > 正文

解决 python execjs._exceptions.ProgramError_execjs._exceptions.programerror: error: malformed

execjs._exceptions.programerror: error: malformed utf-8 data

return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
File "/usr/local/lib/python3.7/site-packages/execjs/_external_runtime.py", line 78, in _eval
return self.exec_(code)
File "/usr/local/lib/python3.7/site-packages/execjs/_abstract_runtime_context.py", line 18, in exec_
return self._exec_(source)
File "/usr/local/lib/python3.7/site-packages/execjs/_external_runtime.py", line 88, in _exec_
return self._extract_result(output)
File "/usr/local/lib/python3.7/site-packages/execjs/_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: ReferenceError: "console" is not defined

1.安装nodejs

已解决

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/175649
推荐阅读
相关标签
  

闽ICP备14008679号