Closed zeynab1995 closed 4 months ago
Hi, Are you running IQ-TREE under Linux? It seems that it cannot find the program iqtree2. If you are working under the folder containing the executable file iqtree2, then you need to type ./iqtree2 [options] Another way is to run iqtree2 with a full path. That means you can type: [full path]/iqtree2 [options] Thomas
Dear Thomas, Thank you for your email. Actually I download the old version for windows. But after installing and writing the code, I just got that massage. Could you please let me know how can I fix it. Additionally, I should say that I want to use it for the first time.
Best, Zeynab
On Fri, Jun 28, 2024, 21:16 Thomas Wong @.***> wrote:
Hi, Are you running IQ-TREE under Linux? It seems that it cannot find the program iqtree2. If you are working under the folder containing the executable file iqtree2, then you need to type ./iqtree2 [options] Another way is to run iqtree2 with a full path. That means you can type: [full path]/iqtree2 [options] Thomas
— Reply to this email directly, view it on GitHub https://github.com/iqtree/iqtree2/issues/252#issuecomment-2196778371, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJQL54WP5D5LVNWUSEWS7KDZJVH3LAVCNFSM6AAAAABKBW35ESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWG43TQMZXGE . You are receiving this because you authored the thread.Message ID: @.***>
Hi Zeynab, I see. According to the error message, the system seems unable to find the iqtree2.exe executable file. The system first searches for the program (i.e. iqtree2.exe) in the folder where you run the command. Then, it searches for the program according to the PATH environment variable. You can add the folder that contains the iqtree2 into the PATH variable. You can refer to https://www.wikihow.com/Change-the-PATH-Environment-Variable-on-Windows, which shows how to add a folder to the PATH variable. Another option is copying iqtree2.exe into the folder where you run the analysis. Thomas
Dear Thomas, I hope this email finds you well.
I've tried to change the path, but it's not working. Additionally, I copied the folder where the analysis was located, but the error continues to appear.
Maybe I did something wrong?
Best, Zeynab
On Fri, Jun 28, 2024 at 10:18 PM Thomas Wong @.***> wrote:
Hi Zeynab, I see. According to the error message, the system seems unable to find the iqtree2.exe executable file. The system first searches for the program (i.e. iqtree2.exe) in the folder where you run the command. Then, it searches for the program according to the PATH environment variable. You can add the folder that contains the iqtree2 into the PATH variable. You can refer to https://www.wikihow.com/Change-the-PATH-Environment-Variable-on-Windows, which shows how to add a folder to the PATH variable. Another option is copying iqtree2.exe into the folder where you run the analysis. Thomas
— Reply to this email directly, view it on GitHub https://github.com/iqtree/iqtree2/issues/252#issuecomment-2196886352, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJQL54QIGX7HFOSCSGDUDILZJVPBJAVCNFSM6AAAAABKBW35ESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWHA4DMMZVGI . You are receiving this because you authored the thread.Message ID: @.***>
@zeynab1995, if you're struggling to figure out how to use the command line on windows, you could try the IQ-TREE webserver:
Hi, Actually now I can pass this part but after inserting the file and reordering again the error appears.
C:\Users\Zeinab\Downloads\iqtree-1.6.12-Windows>bin\iqtree -s C:\Users\Zeinab\Desktop\sequence.txt -alrt 1000 -bb 1000 -nt AUTO The system cannot find the path specified.
Do you know the solution?
Best, Zeynab
On Tue, Jul 2, 2024 at 10:51 AM roblanf @.***> wrote:
@zeynab1995 https://github.com/zeynab1995, if you're struggling to figure out how to use the command line on windows, you could try the IQ-TREE webserver:
http://iqtree.cibiv.univie.ac.at/
— Reply to this email directly, view it on GitHub https://github.com/iqtree/iqtree2/issues/252#issuecomment-2201654369, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJQL54SDEMEBQ3TRVQAF37TZKIBTJAVCNFSM6AAAAABKBW35ESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBRGY2TIMZWHE . You are receiving this because you were mentioned.Message ID: @.***>
Hi Zeynab,
The command should be: bin\iqtree.exe ... (instead of bin\iqtree)
I have tried, and the program worked on my side. A screenshot is attached.
Thomas
so why my pc couldn't run this part C:\Users\Zeinab\Downloads\iqtree-1.6.12-Windows>bin\iqtree.exe -s"C:\Users\Zeinab\Desktop\sequence 1.txt" -alrt 1000 -bb 1000 -nt AUTO The system cannot find the path specified.
I don't know what the problem is. :(
Best Zeynab
On Tue, Jul 2, 2024 at 5:17 PM Thomas Wong @.***> wrote:
Hi Zeynab,
The command should be: bin\iqtree.exe ... (instead of bin\iqtree)
I have tried, and the program worked on my side. A screenshot is attached.
Screenshot.2024-07-02.at.6.12.55.PM.png (view on web) https://github.com/iqtree/iqtree2/assets/18547014/a485848d-ffb4-46c5-b70e-3c0b81c1fd0a
Thomas
— Reply to this email directly, view it on GitHub https://github.com/iqtree/iqtree2/issues/252#issuecomment-2202279820, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJQL54VXOU5IOJA3JLZHK6LZKJOYTAVCNFSM6AAAAABKBW35ESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBSGI3TSOBSGA . You are receiving this because you were mentioned.Message ID: @.***>
Hi Zeynab,
Is there an iqtree.exe file in the folder bin? Can you type the following command in the current directory and show its output?
dir/s
Thomas
Hi, actually, I am using the iqtree app. sorry but I couldn't understand what you mean.
Best wishes, Zeynab
On Tue, Jul 2, 2024 at 9:13 PM Thomas Wong @.***> wrote:
Hi Zeynab,
Is there an iqtree.exe file in the folder bin? Can you type the following command in the current directory and show its output?
dir/s
Thomas
— Reply to this email directly, view it on GitHub https://github.com/iqtree/iqtree2/issues/252#issuecomment-2203007313, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJQL54XHH4APOFSMII7XOTLZKKKPHAVCNFSM6AAAAABKBW35ESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTGAYDOMZRGM . You are receiving this because you were mentioned.Message ID: @.***>
Hi Zeynab,
You typed the command: C:\Users\Zeinab\Downloads\iqtree-1.6.12-Windows>bin\iqtree -s C:\Users\Zeinab\Desktop\sequence.txt -alrt 1000 -bb 1000 -nt AUTO
And it reported the following error: The system cannot find the path specified.
How about you type the following command: C:\Users\Zeinab\Downloads\iqtree-1.6.12-Windows>dir/s
Then, what is the output? You may show the screenshot.
Based on the output, I may be able to determine the problem.
Again, our IQ-TREE web server, http://iqtree.cibiv.univie.ac.at/, is also available for you to use.
Thomas
Closing this issue, because it's not an issue with IQ-TREE. Feel free to keep asking questions on this thread @zeynab1995, but please don't expect quick answers. We do our best, but it's hard for us to teach people the basics of running things on the command line in a forum like this (and of course, we really need to focus on our jobs too). Best thing is to see if you can find someone locally who knows how to do it, and ask them to give you a hand, or use the web server as suggested.
Hi, after installing the iq-tree I cannot use it in the command prompt, all the time I get this message: The system cannot find the path specified.
could you please help me for this problem?