Xqt created this task. Xqt added a subscriber: Xqt. Xqt added a project: pywikibot-core. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION ```
import pywikibot
Error: Python module httplib2 >= 0.6.0 is required.
```
TASK DETAIL https://phabricator.wikimedia.org/T99370
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: pywikipedia-bugs, Xqt, Aklapper, jayvdb
valhallasw added a subscriber: valhallasw. valhallasw added a comment.
Try
import pwb
before the `import pywikibot` to make pwb.py patch up your sys.path.
TASK DETAIL https://phabricator.wikimedia.org/T99370
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw Cc: valhallasw, Xqt, Aklapper, jayvdb, pywikipedia-bugs
valhallasw added a comment.
The error comes from `pywikibot/comms/http.py`:
# Verify that a working httplib2 is present. try: import httplib2 except ImportError: print("Error: Python module httplib2 >= 0.6.0 is required.") sys.exit(1)
TASK DETAIL https://phabricator.wikimedia.org/T99370
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw Cc: valhallasw, Xqt, Aklapper, jayvdb, pywikipedia-bugs
Xqt closed this task as "Invalid". Xqt claimed this task.
TASK DETAIL https://phabricator.wikimedia.org/T99370
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: valhallasw, Xqt, Aklapper, jayvdb, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org