Otb installation error in Mac

Hi all,

I have the following error while trying to install otb can anybody HELP ME PLEASE I do not code, explain in a non-coder friendly way :slight_smile: THX

Error occurred during installation*

Python interpreter detected is : /Library/Frameworks/Python.framework/Versions/2.7/bin/python ( version: 2.7.16 )

numpy not installed with ‘/Library/Frameworks/Python.framework/Versions/2.7/bin/python’

Check failed with result:

Traceback (most recent call last):

File “<string>”, line 1, in <module>

ImportError: No module named numpy


Installing uninstall script for OTB ‘tools/uninstall_otb.sh’

source ‘./otbenv.profile’ file to set required environment variables

eg: ‘. /Users/mycomputer/sb/OTB-6.6.1-Darwin64/otbenv.profile’

You can also copy above line to ~/.profile to keep changes permanently!

More documentation can be found in /Users/mycomputer/OTB-6.6.1-Darwin64/README


according to the error message, it looks like you don’t have the Numpy library installed. Have you tried to do import numpy in a Python interpreter ?

There are several ways to install numpy. For example on Linux you can do sudo apt-get install python-numpy

Hope that helps,

Or, if you don’t want to code and just want to use the application you can ignore this message, everything seems good except for the python part!