This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Treetime (python package) gives import error

I am using treetime in Python 2.7 on Windows 10. I am seeking to do ancestral sequence reconstructions. I am running the example code exactly, except with my own data. I get the following error:

from treetime import config as ttconf
ImportError: cannot import name config

The first time I received this error, I updated my pythonpath to include treetime as well as site-packages (for good measure) and the code worked. Once. Now it no longer works, even though there are no changes to the path. Notably, I do not have import errors for any other third party packages I have been running recently.

Any suggestions?

Note: I also raised this as an issue with the code creators on github.

python ancestral sequence reconstruction treetime

0 answers

No answers yet.

Log in to answer this question.