https://bugzilla.wikimedia.org/show_bug.cgi?id=61783
Morten Wang <warnc...@online.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |warnc...@online.no --- Comment #2 from Morten Wang <warnc...@online.no> --- I'm seeing the same issue if I move out of the source directory before executing Python. If I run from the core directory it simply imports it from './pywikibot', which of course is successful. Python version: 2.7.3 virtualenv version: 1.7.1.2 So after 'python setup.py install' I do: cd .. python Python 2.7.3 (default, Feb 27 2014, 19:58:35) [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 This happens even though the pywikibot modules appears to be in the path: >>> import sys >>> sys.path ['', '/export/scratch/morten/bug61783/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg', '/export/scratch/morten/bug61783/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/export/scratch/morten/bug61783/local/lib/python2.7/site-packages/Pywikipediabot-2.0b1-py2.7.egg', '/export/scratch/morten/bug61783/local/lib/python2.7/site-packages/httplib2-0.8_pywikibot1-py2.7.egg', (rest omitted for brevity)] -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l