| DrTrigon added a comment. |
Test through pip:
$ sudo apt-get update $ sudo apt-get purge python-pip; sudo apt-get autoremove $ wget https://bootstrap.pypa.io/get-pip.py; sudo python get-pip.py $ pip show pip --- Metadata-Version: 2.0 Name: pip Version: 8.1.2 [...] $ sudo apt-get install perl openjdk-7-jre python-dev pkg-config libfreetype6-dev libpng12-dev liblapack-dev libblas-dev gfortran cmake libboost-python-dev liblzma-dev libjpeg-dev python-virtualenv $ sudo pip install file-metadata $ python -c'import file_metadata; print file_metadata.__version__' 0.1.0 $ sudo pip install pywikibot $ wget https://gist.githubusercontent.com/AbdealiJK/a94fc0d0445c2ad715d9b1b95ec2ba03/raw/492ef4076d5af74b4855fd26f6810f14cff07ec9/file_metadata_bot.py $ python pwb.py python: can't open file 'pwb.py': [Errno 2] No such file or directory
- your hint regarding upgrading pip is correct, however the command not; you need to de-install and manually re-install it - see http://stackoverflow.com/questions/28917534/pip-broken-on-ubuntu-14-4-after-package-upgrade
- works outside virtualenv as well
- it uses wheels now ;))
Also modified the install instructions page a bit again.
How to call pwb.py? See T67176#2398644? Clone pywikibot to a seperate dir? Why is it useful to install a package and clone it as well? That just creates confusion which code is run, which to change and whether everything was updated?!?
TASK DETAIL
EMAIL PREFERENCES
To: DrTrigon
Cc: zhuyifei1999, jayvdb, AbdealiJK, Aklapper, pywikibot-bugs-list, DrTrigon, Zppix, Lethexie, Jay8g
Cc: zhuyifei1999, jayvdb, AbdealiJK, Aklapper, pywikibot-bugs-list, DrTrigon, Zppix, Lethexie, Jay8g
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
