Closed Rikkaede closed 4 years ago
Did you run pip install spotipy
?
If using python3 make sure to run pip3 install spotipy
use pip install spotipy
orpip3 install spotipy
(if your system default python isn't python3)
you can check installed modules using pip freeze
I am pleased to notify you that the following command include both Python2 and Python3 environbment.
$ pip install spotipy
You do not need use the command $ pip3 install spotify. The command of $ pip3 that installs spotify is wrong and incurs the error of import spotipy while you use the Python3 environment.
Please see the spotipy details as follows.
I'm still having an issue with using spotipy ini jupyter notebook. I installed it exactly as mentioned about and get the same error
This is possibly a common python issue unrelated with spotipy. Make sure you don't have another folder (maybe file?) in your project that's called spotipy.
`Traceback (most recent call last): File "C:/Users/Tims/Documents/Python/ss.py", line 2, in
import spotipy
ModuleNotFoundError: No module named 'spotipy'
if name == 'main': max_tracks_per_call = 50 if len(sys.argv) > 1: file = open(sys.argv[1]) else: file = sys.stdin tids = file.read().split()
`