Jump to content

Topic on Manual talk:Pywikibot/Archive 3

WindowsError: [Error 2]

4
Abshirdheere (talkcontribs)

Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

C:\Pywikipedia>login.py 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\login.py", line 59, in <module>
   import query
 File "C:\Pywikipedia\query.py", line 30, in <module>
   import wikipedia as pywikibot
 File "C:\Pywikipedia\wikipedia.py", line 6019, in <module>
   versionrev=(version.getversiondict()["rev"])
 File "C:\Pywikipedia\pywikibot\version.py", line 52, in getversiondict
   (tag, rev, date, hsh) = getversion_git(_program_dir)
 File "C:\Pywikipedia\pywikibot\version.py", line 150, in getversion_git
   stdout=subprocess.PIPE).stdout.read()
 File "C:\Python27\lib\subprocess.py", line 679, in __init__
   errread, errwrite)
 File "C:\Python27\lib\subprocess.py", line 893, in _execute_child
   startupinfo)

WindowsError: [Error 2] Can not find the file specified

C:\Pywikipedia>pywikibot

  • having this problem, and I do not know how to handle
Reply to "WindowsError: [Error 2]"