mikgroup/K-band

bart cannot be installed

Opened this issue · 0 comments

Hello,
When attempting to install BART I get the following message:

pip install bart
Collecting bart
  Using cached bart-0.0.3.tar.gz (266 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      /tmp/pip-install-zg8o10n_/bart_4b50e004e932440c907c2d87cf47a869/setup.py:8: DeprecationWarning:
      
        `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
        of the deprecation of `distutils` itself. It will be removed for
        Python >= 3.12. For older Python versions it will remain present.
        It is recommended to use `setuptools < 60.0` for those Python versions.
        For more details, see:
          https://numpy.org/devdocs/reference/distutils_status_migration.html
      
      
        from numpy.distutils.core import setup, Extension
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-zg8o10n_/bart_4b50e004e932440c907c2d87cf47a869/setup.py", line 61, in <module>
          long_description=open("README.rst").read(),
                           ^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [Errno 2] No such file or directory: 'README.rst'
      [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.

Am I doing something wrong, or is it an issue in BART?
Thanks!