faircloth-lab / phyluce

software for UCE (and general) phylogenomics
http://phyluce.readthedocs.org/
Other
78 stars 49 forks source link

phyluce_snp_convert_vcf_to_structure #177

Closed quattrinia closed 3 years ago

quattrinia commented 4 years ago

We have been using this script successfully and all of a sudden we cannot figure out why this has stopped working. Any advice?

File "/data/mcfadden/aquattrini/PROGRAMS/anaconda2/bin/phyluce_snp_convert_vcf_to_structure", line 18, in import pandas as pd File "/data/mcfadden/aquattrini/PROGRAMS/anaconda2/lib/python2.7/site-packages/pandas/init.py", line 39, in from pandas.core.api import * File "/data/mcfadden/aquattrini/PROGRAMS/anaconda2/lib/python2.7/site-packages/pandas/core/api.py", line 16, in from pandas.core.groupby import groupby File "/data/mcfadden/aquattrini/PROGRAMS/anaconda2/lib/python2.7/site-packages/pandas/core/groupby/init.py", line 2, in from pandas.core.groupby.groupby import ( File "/data/mcfadden/aquattrini/PROGRAMS/anaconda2/lib/python2.7/site-packages/pandas/core/groupby/groupby.py", line 17, in from pandas.compat.numpy import function as nv File "/data/mcfadden/aquattrini/PROGRAMS/anaconda2/lib/python2.7/site-packages/pandas/compat/numpy/function.py", line 22, in from pandas.util._validators import (validate_args, validate_kwargs, File "/data/mcfadden/aquattrini/PROGRAMS/anaconda2/lib/python2.7/site-packages/pandas/util/_validators.py", line 7, in from pandas.core.dtypes.common import is_bool File "/data/mcfadden/aquattrini/PROGRAMS/anaconda2/lib/python2.7/site-packages/pandas/core/dtypes/common.py", line 4, in from pandas.compat import (string_types, text_type, binary_type, ImportError: cannot import name PY36

brantfaircloth commented 4 years ago

Looks like an error related to python versions - are you sure correct conda environments are activated? Maybe also try a reboot.

quattrinia commented 4 years ago

Yes, this was an issue with a pandas pkg/python 3