Last modified: 2014-01-21 01:50:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62221, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60221 - Installation is broken
Installation is broken
Status: RESOLVED INVALID
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-19 03:50 UTC by Hazard-SJ
Modified: 2014-01-21 01:50 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Hazard-SJ 2014-01-19 03:50:36 UTC
I've attempted to reinstall pywikibot (core) on multiple occasions on Tool Labs recently, and I keep getting the following when I attempt to use it:

local-hazard-bot@tools-login:~$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pywikibot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pywikibot
>>>


The issue also happens for me on Toolserver.
Comment 2 xqt 2014-01-19 09:31:40 UTC
if core isn't installed as side-package you have to

>>> import pwb

first
Comment 3 Hazard-SJ 2014-01-21 01:50:19 UTC
Thanks, the virtualenv method worked.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links