Imamadmad added a comment.
In https://phabricator.wikimedia.org/T97992#1256635, @XZise wrote:
Do the following inside of the core directory:
Don'tNeedToKnow@Imamadmad /cygdrive/c/core $ python pwb.py login
pwb.py does add the core directory to the `PATH` variable so that python sees the pywikibot directory. There are other ways to fix this like adding the core directory (or any directory containing the pywikibot directory) to `PATH` or `PYTHONPATH`.
**Edit:** It's `PYTHONPATH` not `PYTHON_PATH`, thanks @jayvdb for the reminder.
Thank you so much for the help! This wasn't made clear in the documentation on mediawiki.org. Thanks so much for telling me!
TASK DETAIL https://phabricator.wikimedia.org/T97992
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Imamadmad Cc: jayvdb, XZise, Imamadmad, Aklapper, pywikipedia-bugs