由subprocess.Popen.stdin.flush()导致的BrokenPipeError: [Errno 32] Broken pipe问题解决

根据github上的回答解决了问题
在这里插入图片描述

下载这个文件
并且修改原文件相关参数如下:

self.meteor_cmd = ['java', '-jar', '-Xmx2G', METEOR_JAR, '-', '-', '-stdio', '-l', 'en', '-norm', '-a', 'data/paraphrase-en.gz']

主要是后面两个参数:

  • -a
  • data/paraphrase-en.gz:文件保存的路径

其他相关的解决方法

相关推荐

  1. vite热更新导致问题解决

    2024-04-12 14:04:02       32 阅读
  2. history路解决刷新出现404问题

    2024-04-12 14:04:02       62 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-12 14:04:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-12 14:04:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-12 14:04:02       82 阅读
  4. Python语言-面向对象

    2024-04-12 14:04:02       91 阅读

热门阅读

  1. 2024认证杯数学建模B题思路模型代码

    2024-04-12 14:04:02       33 阅读
  2. 【SwiftUI】SwiftUI工程中如何引入DoKit

    2024-04-12 14:04:02       41 阅读
  3. Flink命令行启动Job任务

    2024-04-12 14:04:02       36 阅读
  4. 李白打酒加强版 -- 题解 c++

    2024-04-12 14:04:02       37 阅读
  5. ABAP CALL TRANSACTION 跳转

    2024-04-12 14:04:02       35 阅读
  6. Stream流

    2024-04-12 14:04:02       39 阅读
  7. MySQL 05 MySQL入门教程(MySQL tutorial book)

    2024-04-12 14:04:02       43 阅读
  8. zookeeper C API client 如何设置digest鉴权验证

    2024-04-12 14:04:02       40 阅读
  9. Spring Boot 经典面试题(六)

    2024-04-12 14:04:02       39 阅读