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.

pip3 install bondgraphtools试试

你的pip丢失了吧?重新下载一下