Hi KP,

Try downloading a new nightly from the website: http://tools.wmflabs.org/pywikibot/compat.zip -- it sounds like the externals/ directory is missing some files.


On 14 April 2016 at 06:22, KPHungerstrike <captaingunkan@gmail.com> wrote:

I use Pywikibot for a Wikia wiki I run, mostly for deleting multiple
articles. I'm still really new at this since I only use my bot for
mass-categorizing and deleting.

Today while I was deleting pages my bot ran into an error. I unfortunately
didn't save the message but whenever I execute login.py, I get the following

Traceback (most recent call last):
  File "C:\Pywikibot\login.py", line 59, in <module>
    import query
  File "C:\Pywikibot\query.py", line 30, in <module>
    import wikipedia as pywikibot
  File "C:\Pywikibot\wikipedia.py", line 162, in <module>
    from BeautifulSoup import BeautifulSoup, BeautifulStoneSoup, SoupStrainer
ImportError: No module named BeautifulSoup

I've switched from Python 2.7 to 3.4 and back, and I've also updated my
Pywikibot files. I am officially stumped. Again, I'd like to remind you all,
I'm not well-versed in this so I'll try my best to follow directions.

Thanks for your time.


pywikibot mailing list