Search code examples
pythonpython-3.xpython-2.7modulepycharm

Getting "No Module Named Spotipy"


When I try to run the line:

import spotipy

I get the error that there is no module named spotipy. I have tried using pip, pip3, and easy install to install the module. When I run pip freeze I can see that spotipy is installed as version 2.4.4.

What could possibly be going wrong?

I am using PyCharm if that matters.


Solution

  • From pycharm,

    goto settings -> project Interpreter

    Click on + button on top right corner and you will get pop-up window of Available packages. Then search for spotipy python package.

    Then click on Install package to install the package.