Python 3 Remove old anfis pip uninstall anfis Install anfis from source pip install https://github.com/twmeggs/anfis/archive/master.zip Run test python tests.py