Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with pasta #64

Closed
ChaoShenzjs opened this issue May 19, 2023 · 3 comments
Closed

problem with pasta #64

ChaoShenzjs opened this issue May 19, 2023 · 3 comments

Comments

@ChaoShenzjs
Copy link

hi there,
I installed pasta in a linux system following the instruction, it seems successful. but when I try run_pasta.py and some problems occcured showed: ImportError: cannot import name convert node to root polytomy. How do deal with it?
Many thanks!

@seansolari
Copy link

I came across a similar issue, being the following python error (using Python 3.10):

ImportError: cannot import name '_convert_node_to_root_polytomy' from 'dendropy.datamodel.treemodel'

This is due to an update in Dendropy (a dependency of PASTA) from v4.5.1 to v4.6.0. Installing specifically Dendropy v4.5.1 (eg. python -m pip install dendropy==4.5.1) solved this issue for me.

@simeonborko
Copy link

simeonborko commented Mar 4, 2024

Actually version 4.5.2 works as well as this comment says: smirarab/sepp#126 (comment)

I'll create a pull request to set this version as a dependency and a new issue to adapt pasta code for the newest version of dendropy.

@smirarab
Copy link
Owner

6f3ff89 fixes for now. We use issue #67 to track this. So, I'll close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants