hellricer / soupmonkey

Userscript manager for ELinks powered by BeautifulSoup library.
GNU General Public License v2.0
4 stars 1 forks source link

Update the README with the needed python dependencies (wikipedia, duckduck) #9

Open m040601 opened 4 years ago

m040601 commented 4 years ago

Was trying to test run this, but was complaining about missing python modules. They are not listed on the readme as requirements..

Ended up figuring out that for wikipedia it needs, https://github.com/goldsmith/Wikipedia. That is provided by the package python-wikipedia in Archlinux.

For duckduck go, could not find out which python module is this needed "ddg" one,

  File "/home/a1/.elinks/soupmonkey/__init__.py", line 9, in <module>
    modules.append(__import__(module[:-3], locals(), globals()))
ModuleNotFoundError: No module named 'ddg'
RobSis commented 3 years ago

Hey. You don't actually need any libraries to run this except BeautifulSoup4. The module 'ddg' is actually the ddg.py file in the repostiory.

I guess the reason of those error messages is wrong location of scripts, or something like that. Did you put all files from this repo into your ~/.elinks directory?