https://bugzilla.wikimedia.org/show_bug.cgi?id=58160
Web browser: --- Bug ID: 58160 Summary: pwb.py <script> causes ImportError Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: blocker Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Classification: Unclassified Mobile Platform: ---
c:\Pywikipedia\ssh\pywikibot\core>pwb.py touch WARNING: Configuration variable 'use_diskcache' is defined but unknown. Misspelled? WARNING: Configuration variable 'notify_unflagged_bot' is defined but unknown. Misspelled? WARNING: Running on Windows and transliteration_target is not set. Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows Traceback (most recent call last): File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 123, in <module> tryimport_pwb() File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 30, in tryimport_pwb import pywikibot File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot__init__.py", line 31, in <m odule> from pywikibot.bot import * File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\bot.py", line 35, in <module
from pywikibot import version File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\version.py", line 143, in <m odule> from generate_user_files.py import get_base_dir ImportError: No module named py
c:\Pywikipedia\ssh\pywikibot\core>