spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.81k stars 1.62k forks source link

Unknown command #686

Closed davidmartonendre closed 4 years ago

davidmartonendre commented 4 years ago

What is the purpose of your issue?

Description

Don't know if I'm just too dumb for this, or there is some problem. I'm using Linux Mint 19.3 Tricia My issue is I've installed PyPI with pip3 (python 3.6), installed spotdl, pip says it's installed. Yet I try the commands and all I get is command unknown. While installing the spotdl it says Failed building wheel for pathlib Running setup.py clean for pathlib Running setup.py bdist_wheel for unicode-slugify ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-rytw_b34/unicode-slugify/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpvahpj4smpip-wheel- --python-tag cp36: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel'

This is happening to unicode-slugify, PyYAML and lyricwikia. After these it shows the installed packages: Successfully installed PyYAML-5.3 appdirs-1.4.3 beautifulsoup4-4.8.2 certifi-2019.11.28 chardet-3.0.4 idna-2.9 logzero-1.5.0 lyricwikia-0.1.11 mutagen-1.44.0 pafy-0.5.5 pathlib-1.0.1 requests-2.23.0 six-1.14.0 soupsieve-2.0 spotdl-1.2.6 spotipy-2.9.0 titlecase-0.12.0 unicode-slugify-0.1.3 unidecode-1.1.1 urllib3-1.25.8 youtube-dl-2020.3.8

I don't know much about pip or Python, and I'm quite new to Linux, I've switched from win a couple of months ago. plz halp cheers, David

Log

ritiek commented 4 years ago

You need setuptools and wheel packages too.

$ pip3 install setuptools wheel -U

Should work then.

We should probably put these in our setup.py too.

On Sun, 15 Mar, 2020, 10:50 PM PersonalDavid, notifications@github.com wrote:

What is the purpose of your issue?

  • Bug
  • Feature Request
  • Question
  • Other

Description

Don't know if I'm just too dumb for this, or there is some problem. I'm using Linux Mint 19.3 Tricia My issue is I've installed PyPI with pip3 (python 3.6), installed spotdl, pip says it's installed. Yet I try the commands and all I get is command unknown. While installing the spotdl it says Failed building wheel for pathlib Running setup.py clean for pathlib Running setup.py bdist_wheel for unicode-slugify ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-rytw_b34/unicode-slugify/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpvahpj4smpip-wheel- --python-tag cp36: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel'

This is happening to unicode-slugify, PyYAML and lyricwikia. After these it shows the installed packages: Successfully installed PyYAML-5.3 appdirs-1.4.3 beautifulsoup4-4.8.2 certifi-2019.11.28 chardet-3.0.4 idna-2.9 logzero-1.5.0 lyricwikia-0.1.11 mutagen-1.44.0 pafy-0.5.5 pathlib-1.0.1 requests-2.23.0 six-1.14.0 soupsieve-2.0 spotdl-1.2.6 spotipy-2.9.0 titlecase-0.12.0 unicode-slugify-0.1.3 unidecode-1.1.1 urllib3-1.25.8 youtube-dl-2020.3.8

I don't know much about pip or Python, and I'm quite new to Linux, I've switched from win a couple of months ago. plz halp cheers, David Log

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ritiek/spotify-downloader/issues/686, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE27U5UYUPJFAOHEUFEXL23RHUE6BANCNFSM4LLGGMKQ .

davidmartonendre commented 4 years ago

Thank you for the answer! Now it's getting wheels during installation, but yet the same, when I run $ pip3 list it lists spotdl, and all the packages it needs to work: beautifulsoup4 and etc. Pip3 says there are no broken requirements, everything looks fine, but then I try to run $ spotdl ... spotdl: command not found

ritiek commented 4 years ago

This might be related to #451. See if it helps.

davidmartonendre commented 4 years ago

It helped, thanks a lot dude! Sorry for my debility and thank you for this great tool!! :smile: