lundi 29 juin 2015

SciPy package on Fedora 20: ImportError: cannot import name anderson_ksamp


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.


1 commentaire:

  1. Strange "water hack" burns 2 lbs overnight

    At least 160k men and women are trying a easy and secret "water hack" to lose 1-2lbs every night as they sleep.

    It is easy and works every time.

    Just follow these easy step:

    1) Get a glass and fill it half the way

    2) Now follow this crazy HACK

    so you'll become 1-2lbs skinnier the very next day!

    RépondreSupprimer