Wikipedia on the terminal , using python - Source Dexter

No Comments

  1. Jairo Andrés Vélez Pérez
    April 21, 2014 @ 5:37 am

    I have the follow mistake, I how solve this ??

    Traceback (most recent call last):
    File “”, line 1, in
    from wikipedia import *
    File “/home/jairovelez/Escritorio/”, line 4, in
    import yaml
    ImportError: No module named yaml


    • akshay pai
      April 21, 2014 @ 7:43 am

      the error has occurred because you have not installed the yaml module.
      To install it, type in your terminal the following command:

      sudo pip install yaml
      then enter your password and let it install. If it says pip is not installed then install pip first by typing
      sudo apt-get install pip


Leave a Reply

Your email address will not be published. Required fields are marked *