Otb installation error in Mac

#1

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

Configuring…

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

0 Likes

#2

Hello,

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,
Cédric

0 Likes

#3

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!

0 Likes