1

I´m trying to install a SOAP API called SUDS, on a Windows 7 OS, to be able to run SOAP from the QGIS Python console and pyQGIS/Python scripts.

The only Python I have installed is the one comming with QGIS 2.01 standalone. How can I install an external Python library like SUDS, to be used within QGIS Python scripts and console?

2 Answers 2

1

Could not see the forrest for all the trees ....

Just add the library to the PYTHONPATH

http://www.stereoplex.com/blog/understanding-imports-and-pythonpath

0

Alternatively you could copy the package files to %programfiles%\QGIS Dufour\apps\Python27\Lib\site-packages (change appropriately for your QGIS version). That way PYTHONPATH can stay unmodified, however updating to a newer version of QGIS may delete the package, plus you'd have to repeat this several times in case you wanted to use several, parallel QGIS installations.

1
  • Could you expand a bit on your answer?
    – Martin
    Commented Jan 20, 2014 at 8:26

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.