I'm trying to run a Python package called D3E for single-cell differential gene expression. I have Python 2.7.5 on Fedora 20. I just installed the SciPy package using the instructions here:
sudo yum install numpy scipy python-matplotlib ipython python-pandas sympy python-nose
However, when I try to run the script, I keep getting a SciPy error:
bash-4.2$ python D3ECmd.py ~/Documents/geneExpressionTable.txt ~/outputFile.txt cellType1 cellTYpe2 -n=0, -z=1
Traceback (most recent call last):
File "D3ECmd.py", line 34, in <module>
from D3EUtil import readData, getParamsBayesian, getParamsMoments, cramerVonMises, logStatus, goodnessOfFit, distributionTest
File "/home/user/Software/D3E/D3EUtil.py", line 36, in <module>
from scipy.stats import gmean, ks_2samp, anderson_ksamp
ImportError: cannot import name anderson_ksamp
What would you recommend I try to fix this error?
Thanks.