I am struggling to import Python packages, such as fuzzywuzzy or pandas, into PyQGIS. Whenever I try to import, through import pandas for example, I get ModuleNotFoundError.

1 Answer 1


I found this guide very useful:


One option is through OSGeo4W shell

  1. Open OSGeo4W shell through the start menu
  2. Write py3_env in the shell to print the path of your PyQGIS installation
  3. Use python -m pip install {your package} to install through pip

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.