[08:42:42] do we have problems with devtools ipv4 routing/lb? mtr -4 docker-registry.wikimedia.org [08:59:24] recovered, discussion was in #mw_sec [17:06:58] Hi, I am trying to use pywikibot from https://toolsadmin.wikimedia.org/ [17:07:24] I have an old install, but it doesn't work anymore. [17:08:09] yann@tools-bastion-15:~/yannbot$ ./pywikibot-core/pwb.py login [17:08:09] The 'mwparserfromhell>=0.5.2' distribution was not found and is required by the application [17:13:11] yannfo: hi, please see https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot for currently recommended methods of running pywikibot [17:25:10] taavi: That means I have to delete the old install, and start afresh again? [18:03:57] OK, now I get: $ $HOME/pwbvenv/bin/python3 $HOME/pywikibot-core/pwb.py generate_user_files [18:03:57] No module named 'pkg_resources' [18:05:39] ~$ exit [18:05:40] logout [18:05:40] E0417 18:05:11.425518 2590871 v2.go:104] "Unhandled Error" err="write on closed stream 0" [18:05:41] pod tool-yannbot/shell-1776448972 terminated (Error) [18:42:53] have you tried https://wikitech.wikimedia.org/wiki/Help:Toolforge/Running_Pywikibot_scripts_(advanced)#ModuleNotFoundError:_No_module_named_'...',_but_that_dependency_is_installed ? [19:01:11] I  did the whole setup again after adding "pip install mwparserfromhell" in pwb_venv.sh [19:01:38] It looks worse: [19:01:39] $ ./pywikibot-core/pwb.py version [19:01:39] Traceback (most recent call last): [19:01:40]   File "/mnt/nfs/labstore-secondary-tools-project/yannbot/./pywikibot-core/pwb.py", line 40, in [19:01:40]     sys.exit(main()) [19:01:41]              ~~~~^^ [19:01:41]   File "/mnt/nfs/labstore-secondary-tools-project/yannbot/./pywikibot-core/pwb.py", line 36, in main [19:01:42]     runpy.run_path(str(path), run_name='__main__') [19:01:42]     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [19:01:43]   File "", line 287, in run_path [19:01:43]   File "", line 98, in _run_module_code [19:01:44]   File "", line 88, in _run_code [19:01:44]   File "/mnt/nfs/labstore-secondary-tools-project/yannbot/pywikibot-core/pywikibot/scripts/wrapper.py", line 312, in [19:01:45]     import pywikibot as pwb [19:01:45]   File "/mnt/nfs/labstore-secondary-tools-project/yannbot/pywikibot-core/pywikibot/__init__.py", line 23, in [19:01:46]     from pywikibot import config as _config [19:01:46]   File "/mnt/nfs/labstore-secondary-tools-project/yannbot/pywikibot-core/pywikibot/config.py", line 942, in [19:01:47]     exec(compile(f.read(), _filename, 'exec'), _exec_globals) [19:34:19] your pwb_venv.sh has the line that installs pywikibot commented out