neherlab / treetime

Maximum likelihood inference of time stamped phylogenies and ancestral reconstruction
MIT License
222 stars 55 forks source link

No Treeanc module found #32

Closed weedcentipede closed 6 years ago

weedcentipede commented 6 years ago

Hi, trying to run Treetime, i get the following error:

Traceback (most recent call last): File "/home/bio/treetime/ancestral_reconstruction.py", line 4, in from treetime import TreeAnc, GTR File "/home/bio/treetime/treetime/init.py", line 1, in from treeanc import TreeAnc ModuleNotFoundError: No module named 'treeanc'

Could you please help me?, Thanks in advance, Luis Alfonso.

alexjfortuna commented 6 years ago

I am having the same issue, thank you.

rneher commented 6 years ago

Sorry about the late reply -- was traveling. Did you install treetime? Or are you simply running the script from within the folder?

alexjfortuna commented 6 years ago

Hi, I was able to get it to work indirectly by installing panX and source activate panX.

rneher commented 6 years ago

could it be that your default python is python3 outside of if the panX environment? The master branch of treetime requires python2.7. there is a py3 branch, but somewhat experimental as of now.

alexjfortuna commented 6 years ago

Hi Richard,

my default python is python 2.7. However, I just installed treetime again and made sure to set correct PYTHONPATH. It is now working outside of panX environment.

Thank you!

On Wed, Mar 28, 2018 at 1:56 PM, Richard Neher notifications@github.com wrote:

could it be that your default python is python3 outside of if the panX environment? The master branch of treetime requires python2.7. there is a py3 branch, but somewhat experimental as of now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/neherlab/treetime/issues/32#issuecomment-376978219, or mute the thread https://github.com/notifications/unsubscribe-auth/AWX2PoU_dhV2aP0qsG44jOixPAqi0PZkks5ti87igaJpZM4STqnb .

rneher commented 6 years ago

Thanks for letting me know. @OnlyHigh , does it work for you now?

best, richard

weedcentipede commented 6 years ago

Yes, It works, Thank you!, Luis Alfonso.