If you are using a virtual environment, ensure that it is activated, the package is installed within the virtual environment, and the interpreter configured in your text editor matches the virtual environment's interpreter.