Spotify-downloader: bash: spotdl: command not found

Created on 27 May 2019  路  5Comments  路  Source: spotDL/spotify-downloader

What is the purpose of your issue?

  • [x] Bug
  • [ ] Feature Request
  • [ ] Question
  • [ ] Other

Description

i get bash: spotdl: command not found

Log

$ pip3 install -U spotdl

Collecting spotdl
Using cached https://files.pythonhosted.org/packages/b8/bc/ef3b1aed5edea24c8176cf460bfbc45fa388cf99bcad58f94540f1dd9059/spotdl-1.2.1-py3-none-any.whl
Collecting lyricwikia>=0.1.8 (from spotdl)
Collecting titlecase>=0.10.0 (from spotdl)
Using cached https://files.pythonhosted.org/packages/1c/6b/1af08c2d82cf3bad9caf764bca8c398c78f811d0638e5cb268952f45c917/titlecase-0.12.0-py3-none-any.whl
Collecting youtube-dl>=2017.9.26 (from spotdl)
Using cached https://files.pythonhosted.org/packages/45/60/3fc3026b82a3a0e37e6b598260c68abb446e7e85cba04318d2da17a95fac/youtube_dl-2019.5.20-py2.py3-none-any.whl
Collecting pathlib>=1.0.1 (from spotdl)
Collecting appdirs>=1.4.3 (from spotdl)
Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
Collecting pafy>=0.5.3.1 (from spotdl)
Using cached https://files.pythonhosted.org/packages/b0/e8/3516f761558525b00d3eaf73744eed5c267db20650b7b660674547e3e506/pafy-0.5.4-py2.py3-none-any.whl
Collecting logzero>=1.3.1 (from spotdl)
Using cached https://files.pythonhosted.org/packages/97/24/27295d318ea8976b12cf9cc51d82e7c7129220f6a3cc9e3443df3be8afdb/logzero-1.5.0-py2.py3-none-any.whl
Collecting mutagen>=1.41.1 (from spotdl)
Collecting beautifulsoup4>=4.6.3 (from spotdl)
Using cached https://files.pythonhosted.org/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl
Collecting PyYAML>=3.13 (from spotdl)
Collecting unicode-slugify>=0.1.3 (from spotdl)
Collecting spotipy>=2.4.4 (from spotdl)
Collecting six (from lyricwikia>=0.1.8->spotdl)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting requests (from lyricwikia>=0.1.8->spotdl)
Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting soupsieve>=1.2 (from beautifulsoup4>=4.6.3->spotdl)
Using cached https://files.pythonhosted.org/packages/b9/a5/7ea40d0f8676bde6e464a6435a48bc5db09b1a8f4f06d41dd997b8f3c616/soupsieve-1.9.1-py2.py3-none-any.whl
Collecting unidecode (from unicode-slugify>=0.1.3->spotdl)
Using cached https://files.pythonhosted.org/packages/31/39/53096f9217b057cb049fe872b7fc7ce799a1a89b76cf917d9639e7a558b5/Unidecode-1.0.23-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->lyricwikia>=0.1.8->spotdl)
Using cached https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->lyricwikia>=0.1.8->spotdl)
Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests->lyricwikia>=0.1.8->spotdl)
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->lyricwikia>=0.1.8->spotdl)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Installing collected packages: six, soupsieve, beautifulsoup4, certifi, urllib3, idna, chardet, requests, lyricwikia, titlecase, youtube-dl, pathlib, appdirs, pafy, logzero, mutagen, PyYAML, unidecode, unicode-slugify, spotipy, spotdl
Successfully installed PyYAML-5.1 appdirs-1.4.3 beautifulsoup4-4.7.1 certifi-2019.3.9 chardet-3.0.4 idna-2.8 logzero-1.5.0 lyricwikia-0.1.9 mutagen-1.42.0 pafy-0.5.4 pathlib-1.0.1 requests-2.22.0 six-1.12.0 soupsieve-1.9.1 spotdl-1.2.1 spotipy-2.4.4 titlecase-0.12.0 unicode-slugify-0.1.3 unidecode-1.0.23 urllib3-1.25.3 youtube-dl-2019.5.20

$ spotdl

bash: spotdl: command not found

Most helpful comment

You can add ~/.local/bin to your PATH variable with this command:

export PATH=$PATH:~/.local/bin

All 5 comments

What is the output of:

$ pip3 show spotdl

?

@ritiek well, i tried sude pip3 install spotdl & its worked so yeah

@EsmailELBoBDev2 It would've worked without sudo as well but I think ~/.local/bin isn't under your PATH variable so that's probably why it couldn't find it.

You can add ~/.local/bin to your PATH variable with this command:

export PATH=$PATH:~/.local/bin

You can add ~/.local/bin to your PATH variable with this command:

export PATH=$PATH:~/.local/bin

Thank you so much!
This solved the issue!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

linusg picture linusg  路  6Comments

Maxino22 picture Maxino22  路  4Comments

RowanSkie picture RowanSkie  路  5Comments

michalfalat picture michalfalat  路  3Comments

isdito picture isdito  路  5Comments