I have a small problem with the Python console in Qgis. I am working through some code .py but lately the console does not show results, for example I write directly on the cosola

print "prueba"

Enter and it shows nothing, what could be the problem?

enter image description here

  • 1
    is this qgis3? if so you must use python3 so print("prueba") – Ian Turton Jan 23 at 13:30
  • I have qgis 2.18 – Gonzalo Gomez Jan 23 at 13:52
  • 1
    2.18 is End of Life, please consider upgrading to 3.4 – Ian Turton Jan 23 at 14:08
  • Yes it happens. You need just to close the project and reopen it and this should work fine. – Mohannad Adham Jan 23 at 15:43

Your Answer

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

Browse other questions tagged or ask your own question.