jeetsukumaran / DendroPy

A Python library for phylogenetic scripting, simulation, data processing and manipulation.
https://pypi.org/project/DendroPy/.
BSD 3-Clause "New" or "Revised" License
207 stars 63 forks source link

Calling the Paup tree estimate method returns an error #119

Closed mlalith2006 closed 11 months ago

mlalith2006 commented 5 years ago

Hi Jeet,

The following is the error. Do I need to specify a path?

File "", line 1, in File "C:\Python34\lib\site-packages\dendropy\interop\paup.py", line 764, in estimate_tree timeout=timeout, File "C:\Python34\lib\site-packages\dendropy\interop\paup.py", line 120, in call env=env, File "C:\Python34\lib\subprocess.py", line 859, in init restore_signals, start_new_session) File "C:\Python34\lib\subprocess.py", line 1114, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified

mmore500 commented 11 months ago

Hi @mlalith2006 -

You will need to install Paup and set the environment variable DENDROPY_PAUP_EXECUTABLE_PATH with the installed path.

Our continuous integration has a nice step-by-step of Paup installation and configuration you might be able to grab,

https://github.com/jeetsukumaran/DendroPy/blob/c31c1d986b0e6d72aa90e4fef61707e055ce3779/.github/workflows/ci.yaml#L122