zdhoward / aud

A tool for batch file processing, focusing on audio
MIT License
0 stars 4 forks source link

PyPi installation results in ModuleNotFoundError: No module named 'm2r' #32

Open Andrej730 opened 1 year ago

Andrej730 commented 1 year ago

Installing aud with pip install aud results in ModuleNotFoundError: No module named 'm2r'. Same thing with installing pip install git+https://github.com/zdhoward/aud.git.

Proposed in #33 quick fix for this. I guess PyPI should be updated after fix too.

Traceback:

Collecting aud
  Using cached aud-0.8.6.tar.gz (9.6 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "Temp\pip-install-c4usp26v\aud_21ec219a2f574698a61994a916a94443\setup.py", line 4, in <module>
          from m2r import parse_from_file
      ModuleNotFoundError: No module named 'm2r'
      [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.
NativeCommandExitException: Program "pip.exe" ended with non-zero exit code: 1.