何殊 2022-03-07 11:12 采纳率: 100%
浏览 226
已结题

pip安装bondgraphtools报错


C:\Users\ASUS>pip install bondgraphtools
Collecting bondgraphtools
  Using cached BondGraphTools-0.4.5.tar.gz (50 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\ASUS\AppData\Local\Temp\pip-install-ql21wgfh\bondgraphtools_fcc189d613df41afb55a10e1c212b723\setup.py", line 7, in <module>
          with open("requirements.txt", 'r') as fh:
      FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
      Warning - scikit.odes not found. Simulations are disabled.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
  • 写回答

2条回答 默认 最新

  • oldmao_2000 领域专家: 人工智能技术领域 2022-03-07 11:38
    关注

    pip3 install bondgraphtools试试

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 3月15日
  • 已采纳回答 3月7日
  • 创建了问题 3月7日