Hi,
I am yet to successfully install OTB and am hoping there are some clear, correct instructions available. Please help, nearly 2 weeks has gone by…
These instructions Installation — Orfeo ToolBox 7.2.0 documentation are not clear and are difficult to follow when errors appear.
These - OTB Plugin installation - AWF-Wiki - are better, just because instructions like “ignore errors”, even if out of sequence with the steps, are useful.
As an indication of where I am up to, here is how it has gone and the results.
I extracted the file in the documents directory and started here:
"Change to your homes directory
cd ~ "
What is a “homes” directory? I guess it means the home directory. And the way to do that is to type the second instruction “cd ~”, not “Change to your homes directory” (if you look at the formatting on the page you will see why this was an issue):
Next:
"Copy the line shown in your terminal without apostrophs. Replace [yourUsername] with your user name!
. /Users/[yourUsername]/Documents/otb/OTB-7.0.0-Darwin64/otbenv.profile
I am not sure what an “apostroph” is, but following these instructions gives - “no such file or directory”:
Next is:
"In terminal type:
nano .profile
This brought up a box titled - “GNU nano 2.0.6 File: .profile”
I hope this is correct, I have no idea what I may have inadvertently done.
Anyway, these instructions are next:
"Paste the line into the editor. Strg + o and Enter for saving the file. Strg + xfor file closing. Test the environment settings:
source .profile
Start Monteverdi Applications:"
mapla"
None of these do anything inside the “GNU nano 2.0.6 File: .profile” box.
But I did manage to exit, and chose not to “alter the buffer”, because I don’t know what buffer is referenced here.
Back to the terminal window and “source.profile” gives the error - “source: no such file or directory: .profile”
Then these instructions, which do not open mapla:
"Start Monteverdi Applications:
mapla"
Nearly finished:
"You may also start Mapla and Monteverdi from Applications.
Open Finder. Navigate to Documents/otb/OTB-7.2.0-Darwin64.
Drag and drop Mapla and Monteverdi into Applications.
Navigate to Applications and start Mapla with double click."
Clicking on the apps, either after dragging them to the Applications folder or double-clicking for the OTB folder puts an icon in the dock, but that is all. I can’t tell if that is all that should happen.
Last, I followed instructions for QGIS setup, and got this:
An error has occurred while executing Python code:
TypeError: setText(self, str): argument 1 has unexpected type 'int’
Traceback (most recent call last): File “/Applications/QGIS3.12.app/Contents/MacOS/…/Resources/python/plugins/processing/gui/ConfigDialog.py”, line 401, in setEditorData editor.setText(value) TypeError: setText(self, str): argument 1 has unexpected type ‘int’
Python version: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)]
QGIS version: 3.12.2-București București, 8a1fb33634
Python Path:
/Users/…
/Users/…
…many lines of file locations.