解决办法: 修改 execjs 源代码 具体步骤 1. 在 execjs 源文件中,找到 _external_runtime.py 文件中的以下代码 p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, cwd=self._cwd, universal_newlines=True, encoding='utf-8'