org-arl / arlpy

ARL Python Tools
BSD 3-Clause "New" or "Revised" License
118 stars 37 forks source link

How can I make sure that BELLHOP installed on my PC? #74

Closed catauggie closed 1 year ago

catauggie commented 1 year ago

Hi, I am user of windows 10 OS.

I have installed BELLHOP from Acoustics Toolbox http://oalib.hlsresearch.com/AcousticsToolbox/ But I don't understand how can I make sure that BELLHOP installed on my PC, because when I compile code in Jupyter I have an error No suitable propagation available

mchitre commented 1 year ago

You need to make sure that the bellhop.exe is in your PATH, so that you can run it on the command line before you run Jupyter.

catauggie commented 1 year ago

Can I clarify: what is the PATH?

catauggie commented 1 year ago

And what should I type in command line before run jupiter?

mchitre commented 1 year ago

https://www.maketecheasier.com/what-is-the-windows-path/

catauggie commented 1 year ago

so, I decided to install it again. As I understood, 1) I should download atWin10_2020_11_4.zip Binaries (zip file) for Windows 10 from http://oalib.hlsresearch.com/AcousticsToolbox/, right? 2) I found bellhop.exe (my folder \acoustic toolbox\atWin10_2020_11_4\atWin10_2020_11_4\windows-bin-20201102) 3) I have created PATH variable with mentioned above path and finally the same error((

catauggie commented 1 year ago

I don't understand how PATH can help to avoid this error. Maybe there are some extra options to fix?

mchitre commented 1 year ago

The PATH tells your computer where to find the executable for a command you're trying to run.

If you open a command prompt and type bellhop.exe, what do you see as output? If your PATH is correctly setup, it should be able to find bellhop.exe and run it and show you the output. If not, it'll tell you that it was not found.

If you're successfully able to run it, then running Jupyter from the same command prompt should allow arlpy to find bellhop.exe too. The message that no model is found indicates the the PATH for the command prompt that runs Jupyter does not have the OALIB installation in it.

I'm not a Windows user and can't give you exact step-by-step walk through. You may need to get help from someone who uses Windows more.

catauggie commented 1 year ago

So, If I type PATH in command line, I have: bandicam 2022-12-23 16-14-11-606

if I type bellhop.exe, I have: "bellhop.exe" is not internal or external command, executable program, or batch file. bandicam 2022-12-23 16-16-35-239

catauggie commented 1 year ago

maybe after adding bellhop.exe to PATH exist any extra actions to do?

mchitre commented 1 year ago

The text bellhop.exe should be removed from the PATH. The PATH is supposed to contain the directories, not the files.

catauggie commented 1 year ago

Yes, exactly this helped

catauggie commented 1 year ago

Thanks