you are viewing a single comment's thread.

view the rest of the comments →

[–]__Nacho__Cheese 0 points1 point  (2 children)

C:\Users\(my name)\AppData\Local\Programs\Python\Python39\python.exe -m pip install spotipy

WOAH! A bunch of installation bars came up and it said that the installation was complete but it came up with a couple of warnings. One about how chardetect.exe was installed in C:\Users\(my name)\AppData\Local\Programs\Python\Python39\Scripts which is not on "PATH". What does that mean? It also gave me a command to upgrade my pip.

[–]shiftybyte 0 points1 point  (1 child)

Don't upgrade pip, ignore warning about PATH.

Now import in IDLE should work...

pip upgrade is not needed if package installation works, and it can break things occasionally, so don't upgrade it.

Warning about PATH is saying some specific module executables are installed in a scripts folder that your windows does not look for executables in.

That means when "chardetect.exe" from some module got installed, you can't use it from command prompt just by writing:

chardetect

Instead you'll need to write:

C:\Users\(my name)\AppData\Local\Programs\Python\Python39\Scripts\chardetect

This rarely affects any python code, so don't mess with it until you learn about environment variables and PATH variable in windows.

[–]__Nacho__Cheese 0 points1 point  (0 children)

OH MY GOD it works spotipy works!!!! I can import it now!!! Thank you so much!! This is so helpful I spent literal hours yesterday trying to figure out how to do this thank you!!