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

Running sh run-TestSet.sh cause error #31

Open
OlegKotcar opened this issue Nov 9, 2019 · 3 comments
Open

Running sh run-TestSet.sh cause error #31

OlegKotcar opened this issue Nov 9, 2019 · 3 comments

Comments

@OlegKotcar
Copy link

OlegKotcar commented Nov 9, 2019

(panX) anna@Anna-PC:~/work/pan-genome-analysis$ sudo sh run-TestSet.sh
Traceback (most recent call last):
File "./panX.py", line 6, in
from pangenome_computation import pangenome
File "/home/anna/work/pan-genome-analysis/scripts/pangenome_computation.py", line 16, in
from sf_gain_loss import process_gain_loss
File "/home/anna/work/pan-genome-analysis/scripts/sf_gain_loss.py", line 5, in
from treetime import TreeAnc
File "build/bdist.linux-x86_64/egg/treetime/init.py", line 4, in
ImportError: cannot import name item

Ubuntu 18.04
Treetime 2018-10

@rneher
Copy link
Member

rneher commented Nov 9, 2019

If you run from treetime import TreeAnc in your python interpreter, does it work? Try updating TreeTime from pypi.

@OlegKotcar
Copy link
Author

No it didn't work.

(base) anna@Anna-PC:~/work$ pip3 install Treetime
Collecting Treetime
Cache entry deserialization failed, entry ignored
Installing collected packages: Treetime
Successfully installed Treetime-2018.10

(base) anna@Anna-PC:~/work$ cat ./test.py
from Treetime import TreeAnc

(base) anna@Anna-PC:~/work$ python ./test.py
Traceback (most recent call last):
File "./test.py", line 1, in
from Treetime import TreeAnc
ModuleNotFoundError: No module named 'Treetime'

@rneher
Copy link
Member

rneher commented Nov 10, 2019

the treetime you want is phylo-treetime

pip install phylo-treetime

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

2 participants