treePL icon indicating copy to clipboard operation
treePL copied to clipboard

How to call treePL ??

Open Galaxy-228 opened this issue 3 years ago • 11 comments

Hi~ I have installed 'treepl' with conda (conda install -c genomedk treepl), but when i type 'treepl' it shows 'treepl: command not found', so i wonder how to call 'treepl'?? Thank u so much!!

Galaxy-228 avatar Jun 27 '22 15:06 Galaxy-228

Didjya try treePL?

josephwb avatar Jul 24 '22 20:07 josephwb

I met the same problem. (treepl) treePL bash: treePL: command not found...

NiuNiuguohao avatar Nov 25 '23 07:11 NiuNiuguohao

@NiuNiuguohao Did you compile it yourself, or did you use conda? If the former, navigate to the src directory and confirm that treePL was created. If so, you should be able to do ./treePL from that directory to run it. To be able to run it from anywhere you need to do sudo make install.

josephwb avatar Nov 25 '23 12:11 josephwb

I using conda command "conda install -c genomedk treepl" which you provide in anaconda, and met the same problem that "bash: treePL: command not found" when typing "treepl" or "treePL". There is another problem is that the version I download from anaconda is 2.6.3, just try your method to cd to the directory to call treePL, the command say it is version1.0 . And the tgz package in github release is the same version of 1.0, is that wrong message? or it is exactly version 1.0?

LeoEarnest avatar Nov 25 '23 14:11 LeoEarnest

@LeoEarnest There is only version 1.0. I am afraid I cannot help with conda, but manual compilation/install is easy.

josephwb avatar Nov 25 '23 15:11 josephwb

@LeoEarnest There is only version 1.0. I am afraid I cannot help with conda, but manual compilation/install is easy.

Thanks, There would be no problem yet, the version 1.0 can be run in absolute path properly.

LeoEarnest avatar Nov 25 '23 15:11 LeoEarnest

@LeoEarnest There is only version 1.0. I am afraid I cannot help with conda, but manual compilation/install is easy.

Thanks, There would be no problem yet, the version 1.0 can be run in absolute path properly.

Hi! How to find the absolute path after install it by conda? I didn't find it in /home/anaconda3/envs/treepl/bin . Thanks a lot!

NiuNiuguohao avatar Dec 04 '23 09:12 NiuNiuguohao

@LeoEarnest There is only version 1.0. I am afraid I cannot help with conda, but manual compilation/install is easy.

Thanks, There would be no problem yet, the version 1.0 can be run in absolute path properly.

Hi! How to find the absolute path after install it by conda? I didn't find it in /home/anaconda3/envs/treepl/bin . Thanks a lot!

You can check your path in /home/anaconda3/envs/treepl , there would be a file with no extension name, only called treepl. In your case, you can cd to /home/anaconda3/envs/treepl , then type treepl do use it. Or the second method is to add /home/anaconda3/envs/treepl to your environment variable for example .bashrc file in your /home/user_name folder

LeoEarnest avatar Dec 04 '23 10:12 LeoEarnest

@Galaxy-228 Does the advice from @LeoEarnest help you resolve this issue?

You can check your path in /home/anaconda3/envs/treepl , there would be a file with no extension name, only called treepl. In your case, you can cd to /home/anaconda3/envs/treepl , then type treepl do use it. Or the second method is to add /home/anaconda3/envs/treepl to your environment variable for example .bashrc file in your /home/user_name folder

josephwb avatar Dec 04 '23 12:12 josephwb

Hi everyone. I am trying to install treepl on a server using conda and the advice here.

I have navigated to the correct directory but when i type treepl or treePL it comes with command not found still. This is despite the file being there. Weirdly mine is called treePL not treepl.

Any thoughts? Not sure Linux Brew is possible and would prefer to install it in a conda environment to keep things separate.

Cheers Dan

padpadpadpad avatar Dec 14 '23 12:12 padpadpadpad

You need to add Absolute path of treePL

Puguang-Zhao avatar Feb 28 '24 03:02 Puguang-Zhao