#No module named 'pkg_resources'

54 messages · Page 1 of 1 (latest)

abstract light
#

Getting an error "no module named pkg_resources. I tried the following troubleshooting from website (second image) with no success:

unkempt trailBOT
#
spotDL Support

Please continue adding more information into this thread.
You should include the following information:

spotDL Version

Eg. 4.0.0

Operating System

Eg. Windows 22H2

The Command You Ran

Please include Spotify links.

Screenshots or Pasted Error Messages

Only send these if they are relevant.

To send pasted error messages use three backticks (```)
Here's info on how to use code blocks.

#

@abstract light

rocky carbon
abstract light
#

Ok. That seemed to work. However when I run py -m spotdl [playlist link] (pip doesn't work so I have to use py -m) I get the attached. Is something wrong?

small iron
#

nah that's normal ratelimit nonsense

#

can read about a trillion msgs abt it in the last month or more

mint nexus
abstract light
#

Yea, it also doesn't download the songs for me too.

mint nexus
#

i tried fixing it with the workaround posted by the creator of spotdl but i cant understand it, im not good at reading cod-ey language

#

and its kinda complicated

drifting cobalt
royal cipher
royal cipher
drifting cobalt
#

WHATTTT OMG

#

Trying this rn

royal cipher
abstract light
royal cipher
#

Go to that link, login, and at the bottom there is a script, in the first lines there is your token

#

Copy it without the quote

#

But careful it refreshes every hour

abstract light
royal cipher
#

why are you on spotitube

abstract light
royal cipher
abstract light
royal cipher
#

i do spotdl link --auth-token thetoken and it works for me at least

abstract light
#

Oh. It doesn't work without py -m for some reason. Like, if I just put pip install XXX, it won't work. Need to have py -m for it to work.

royal cipher
#

oh ok

abstract light
#

Thanks for your help though!

royal cipher
#

np!

mint nexus
royal cipher
#

the url to the song

mint nexus
#

oh yeah oops mb i misread it thanx for ur help

#

oh sorry, what do you mean by spotify token?

abstract light
#

Its the second line when you open up Spotify for Developers web page assuming you logged in.

slate nebula
#

Hi I'm really sorry for asking this but can you guys help me with the same problem OP had? I'm trying to understand what everyone is saying but I need somebody to guide me through it please

royal cipher
#

but this is only temporary

slate nebula
#

okay thank you, will this work without ffmpeg?

royal cipher
#

you need ffmpeg i think, it depends on what your error is

slate nebula
#

lemme send a screenshot if that helps

#

I tried to run "spotdl" as a regular command and it gave me this same error

royal cipher
#

this is not how you use

#

you need to put a spotify song link

#

spotdl <link_song> --auth-token <spotify-token>

slate nebula
#

I would try that but Im not able to download ffmpeg which spotdl needs to run, right? Or will that command work without ffmpeg