-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't figure out how to run it... #403
Comments
Deleted repo and tried fresh again: ➜ DJING git clone https://github.com/ritiek/spotify-downloader.git ➜ DJING ls ➜ DJING cd spotify-downloader ➜ spotify-downloader git:(master) spotdl --song https://open.spotify.com/track/2DGa7iaidT5s0qnINlwMjJ ➜ spotify-downloader git:(master) ls ➜ spotify-downloader git:(master) cd spotdl ➜ spotdl git:(master) spotdl --song https://open.spotify.com/track/2DGa7iaidT5s0qnINlwMjJ ➜ spotdl git:(master) ls ➜ spotdl git:(master) python3 spotdl --song ➜ spotdl git:(master) python3 spotdl.py --song ➜ spotdl git:(master) cd .. ➜ spotify-downloader git:(master) spotdl --song ➜ spotify-downloader git:(master) python3 spotdl --song |
Install it for Python 3 (check The tool won't work with Python 2 and is not supposed to be started by invoking the Python interpreter manually (i.e. Edit: DO NOT install it from the repo unless you want to do development, use PyPI version instead. |
@linusg Thanks for quick reply. Yes, I made sure to try that first. ➜ DJING pip3 install spotdl |
Please use
for terminal output, increases readability a lot. Thanks. Ok, let's do it step by step:
Paste the output of all these. |
Thanks @linusg Still no dice :\
|
Is it possible that you still have installed it with pip for Python 2 from your previous attempts? IMO now doing a |
@linusg You were right about the other instances. I uninstalled and cleared everything to my knowledge but now getting this error:
|
Is the the directory where pip writes scripts to in your
For me that's Unless it's in Also, first insert your output here, then select it, then press the |
Thanks for being so patient and helpful heh
I am not sure what this means though or how to fix - sorry, I'm still learning 😅 |
No worries! I'm not aware if there's any way to "ask" pip where it stores the script files and libraries. You may check Once you find the right directory, you add a line to either your
That should be it. Open a new terminal for it to take effect (or |
Thank you so much I never would have even known what the problem was on my own. I was able to find the spotdl script eventually and also added it to $PATH:
But when I tried running spotdl I am getting a
which no amount of googling has helped with sadly. Adding sudo made no difference either. I realize this is way out of scope for spotdl, but if any kind soul out there has been down this path and has a solution, please throw a brother a lifeline 😩 |
Good to know, I wouldn't have expected this as the location for executable files 👍
...I closed the issue because it's not an issue with the project itself, but that doesn't mean there'll be no help. Let me install virtualbox really quick, I think I have an macOS image around somewhere... 😉 |
Bummer, it doesn't boot. Regarding the link posted by @ritiek, are you completely sure the path isn't something like
Also, have you tried using the absolute path to the file, e.g.
or, if the above is true
? Edit: I'm tempted to add the |
i had the same problem today on my Linux :
maybe that's not the same problem/issue here but may help anybody else. so the solution was:
i don't know why, as they both use the same path but it was not actually uninstalled after using
and now it works perfectly again. 😃 |
@alexgpark in case of
you may change the file permissions and give the executable flag to it. you can use a command like this to make a file executable for all users:
|
What is the purpose of your issue?
Description
Can someone give me the exact steps required to get this running?
I used to be able to run it, but not anymore.
Am I supposed to run the commands from a specific location in directory?
Here is what I tried at first: https://streamable.com/oafqa
Then I went into the
/Users/AlexPark/Desktop/Music/DJING/spotify-downloader/spotdl
directory and renamed spotdl.py to main.py hoping maybe that would work (https://github.com/ritiek/spotify-downloader/pull/381).Ran
python3 main.py --playlist https://open.spotify.com/user/mralexpark/playlist/3xeI8x8V8sivqo5PPTy53q\?si\=Swd5foZeTjiVejIi1kTIlw
That successfully generated a .txt file but when I ran the --list command on it I got:
Traceback (most recent call last): File "main.py", line 246, in <module> main() File "main.py", line 224, in main skip_file=const.args.skip, AttributeError: 'Namespace' object has no attribute 'skip'
Was so easy to use before, now running into walls everywhere.
Simple set of step by step instructions please? I have tried so many things to make it work to no avail :-(
Log
The text was updated successfully, but these errors were encountered: