This is a test version of Biostars. For the public version, visit https://www.biostars.org.
phylogeny analysis

Hi flock, I was working on phylogenetic analysis from whole-genome datasets, unfortunately I'm facing a challenge in running the plink2treemix.py script. I'm using python 3.8 version in 4.18.0-511.el8.x86_64 Linux server. I have attached the error for your reference, and I appreciate your contribution in solving the attached error.

 python3.8 python3plink2treemix.py Data_treemix.frq.strat.gz Treemix.gz
Traceback (most recent call last):
  File "python3plink2treemix.py", line 7, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'*

Thanks.

27

What is the meaning of the 27 tag?

1 answer

Your Python environment is missing a module that is being used by the script. You could install that module and any other modules using either conda or pip3 before running the script. e.g.

conda install -c anaconda pandas

Log in to answer this question.