Imamadmad created this task.
Imamadmad added a subscriber: Imamadmad.
Imamadmad added projects: Pywikibot-login.py, pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.

TASK DESCRIPTION
  I'm trying to create a bot and log in for the first time.  I've generated the 
family and user files, and then navigated to the pywikibot folder to access 
login.py, but I keep getting an error message as follows:
  
  ```
  Don'tNeedToKnow@Imamadmad /cygdrive/c/core/pywikibot
  $ python login.py
  Traceback (most recent call last):
    File "login.py", line 20, in <module>
      import pywikibot
  ImportError: No module named pywikibot
  
  ```
  I haven't touched any files at all apart from running generate_family_file.py 
and generate_user_files.py.  The version of pywikibot is the one from 
http://tools.wmflabs.org/pywikibot/ last updated on May 4th, but this has been 
happening for almost a week now.  It was about a week ago that I first tried 
installing the software.  I don't know what exactly the problem is.  The above 
error message is all I've got.  I can post further if there are more things you 
can tell me to do to expose the cause of the problem.
  
  
  To give full list of what files are available and where, from where they've 
been placed by default:
  
  ```
  Don'tNeedToKnow@Imamadmad /cygdrive/c/core
  $ ls
  ChangeLog                logs                   setup.py
  CREDITS                  pwb.py                 tests
  externals                pywikibot              tox.ini
  ez_setup.py              README.rst             user-config.py
  generate_family_file.py  README-conversion.txt  user-config.py.sample
  generate_user_files.py   requirements.txt
  LICENSE                  scripts
  
  Don'tNeedToKnow@Imamadmad /cygdrive/c/core
  $ cd pywikibot
  
  Don'tNeedToKnow@Imamadmad /cygdrive/c/core/pywikibot
  $ ls
  __init__.py    config2.pyc    exceptions.pyc      login.pyc          
throttle.py
  __init__.pyc   data           families            page.py            
throttle.pyc
  backports.py   date.py        family.py           page.pyc           
titletranslate.py
  backports.pyc  diff.py        family.pyc          pagegenerators.py  tools
  bot.py         diff.pyc       fixes.py            plural.py          
userinterfaces
  bot.pyc        echo.py        i18n.py             plural.pyc         version
  botirc.py      echo.pyc       i18n.pyc            site.py            
version.py
  comms          editor.py      interwiki_graph.py  site.pyc           
version.pyc
  compat         epydoc.cfg     logentries.py       textlib.py         weblib.py
  config2.py     exceptions.py  login.py            textlib.pyc        
xmlreader.py
  ```

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: pywikipedia-bugs, Imamadmad, Aklapper, jayvdb



_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to