This is an old revision of the document!
Pywikibot
Fetch
git clone --recursive https://github.com/wikimedia/pywikibot cd pywikibot
Install
python3 -m venv ~/.venvs/pywikibot ~/.venvs/pywikibot/bin/python -m pip install -r requirements.txt
Run
Perform this operation inside the pywikibot repository directory.
~/.venvs/pywikibot/bin/python pwb.py <script_name>