P4 is a Python package for maximum likelihood and Bayesian analysis of molecular sequences., it is also a phylogenetic toolkit. Recently, I was trying to install p4 on Linux. I downloaded the source file p4-phylogenetics-master.zip from https://github.com/pgfoster/p4-phylogenetics, then I tried to install it using setup.py, the commands are as follows: unzip p4-phylogenetics-master.zip
python setup.py build, after I typed the second command, error message is as follows:
Traceback (most recent call last):
File "setup.py", line 15, in
raise ImportError("You will want to install the future module, probably via 'pip install future'")
ImportError: You will want to install the future module, probably via 'pip install future'
Then I tried to check the version of python on linux, I find the version of Python is Python 2.6.6. I also found the future module (future.py) is on the linux platform. I add the path of future.py to PYTHONPATH in the .bash_profile.
Then I tried to install the p4 package again, the same error message appeared.
Does anyone can give some suggestions for me? Thanks very much for any reply!