Python/pychecker

From Omnia
Jump to: navigation, search

PyChecker

PyChecker - http://pychecker.sourceforge.net/

yum install:

yum install pychecker

apt install:

apt-get install pychecker

pip install:

pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download

manual install:

mkdir -p ~/.src ; cd ~/.src
wget http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download -O pychecker-0.8.19.tar.gz
tar -zvxf pychecker-0.8.19.tar.gz
cd pychecker-0.8.19
sudo python setup.py install

Ran into an odd error, this seemed to help:

# bash: /usr/bin/pychecker: No such file or directory
ln -s `which pychecker` /usr/bin/pychecker

Fix which python is run:

sed -i 's#/usr/bin/python#/opt/python27/bin/python#g' /opt/python27/bin/pychecker