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?

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.

  • Could you expand a bit on your answer? – Martin Jan 20 '14 at 8:26

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.