Billinghurst added a comment. Thanks @jayvdb, to assist after some failed attempts. I am told
1. Create a virtualenv as per https://wikitech.wikimedia.org/wiki/Help:Tool_Labs ; then 2. pip install mwlib (which takes a while) When running the command from inside the (env) python pwb.py patrol.py -lang:xx -family:wikixxxx -whitelist:"ns and filename of whitelist" it returns the error ImportError: No module named requests Python module requests is required. Try running 'pip install requests' Installed "requests", and then I was able to get things running. :-) I did see an "InsecurePlatformWarning" ... A True SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and my acuase certain SSL connections to fail (https://urllib3.readthedocs.org/en/latest/security.html) I am not sure whether that is a toolslabs issue, a python version issue, or a pywikibot issue, or an mwlib issue. By the way @jyavdb, when you had it as a perpetual job at enWS, what was your process for having that? cron job that restarted? TASK DETAIL https://phabricator.wikimedia.org/T71980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Billinghurst Cc: Aklapper, Billinghurst, valhallasw, scfc, jayvdb, Ricordisamoa, pywikibot-bugs-list, XZise, yuvipanda, Anshoe, droid _______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs