As per - https://root676.github.io/installation.html - I am trying to install QNEAT3 via the OSGeo4W shell using python-qgis -m pip install matplotlib, however I am getting the following error message:

'python-qgis' is not recognized as an internal or external command, operable program or batch file.

I have had look and can't seem to find any info on this error, does anyone know why I am getting this or how I can fix it? I am running QGIS 3.4.1

  • I think there should be a space between python and -qgis. Try python -qgis -m pip install matplotlib
    – Joseph
    Sep 11, 2019 at 9:35
  • Thanks for the suggestion, but that results in Unknown option: -q?
    – Maverick
    Sep 11, 2019 at 10:21
  • 1
    My mistake, no need for the space. The original command was correct as I ran it using QGIS 3.8.1. How did you load the shell?
    – Joseph
    Sep 11, 2019 at 10:29
  • Like this: Start - type OSGeo4W Shell - hit Enter
    – Maverick
    Sep 11, 2019 at 10:33
  • Could you try downloading the latest QGIS version and test it? Could be a version issue.
    – Joseph
    Sep 11, 2019 at 10:43

1 Answer 1


For the latest version of QGIS just type pip install matplotlib

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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