Miserlou / SoundScrape

SoundCloud (and Bandcamp and Mixcloud) downloader in Python.
MIT License
1.42k stars 146 forks source link

Trying to install results in subprocess-exited-with-error #269

Open promitheus7 opened 2 years ago

promitheus7 commented 2 years ago

Cannot install soundscrape - tried versions 3.9.13 and 3.10.5


Collecting soundscrape
  Using cached soundscrape-0.31.0-py3-none-any.whl (16 kB)
Collecting soundcloud>=0.4.1
  Using cached soundcloud-0.5.0.tar.gz (10 kB)
  Preparing metadata (setup.py) ... done
Collecting demjson>=2.2.2
  Using cached demjson-2.2.4.tar.gz (131 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in demjson setup command: use_2to3 is invalid.
      [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.```
kravrolens commented 2 years ago

I had the same problem.

Artucuno commented 2 years ago

Same

Artucuno commented 2 years ago

Fixed this issue by using

pip install "setuptools<58.0.0"
pip install soundscrape
maaa3 commented 1 year ago

Fixed this issue by using

pip install "setuptools<58.0.0"
pip install soundscrape

This fixed the issue, thanks