You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day,
In an attempt to install ceres on a linux OS I keep running into the following issue:
` 2.- Building processes...
----------------------------------------------------------
> Fortran code found in directory utils/CCF. Building...
>...done!
> C code found in directory utils/Continuum. Building...
>...done!
> C code found in directory utils/Continuum. Building...
>...done!
> C code found in directory utils/Continuum. Building...
>...done!
> C code found in directory utils/OptExtract. Building...
----------------------------------------------------------
> ERROR: CERES couldn't be installed.
> Problem building code in utils/OptExtract. The error was:
Marsh.c:2:10: fatal error: numpy/arrayobject.h: No such file or directory
#include <numpy/arrayobject.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
> If you can't solve the problem, please communicate
> with the CERES team for help.`
I've check the include/numpy/ directory and it does contain arrayobject.h so I'm a little confused why it's having trouble find it. I've even tried hard coding the setup.py file to point directly to the appropriate include/numpy/ directory with no avail. Please help.
The text was updated successfully, but these errors were encountered:
Thanks for the reply, Nestor.
So it give me basically the same error. It crashes on the Marsh portion and says it can't find 'numpy/arrayobject.h'
`running install
running build
running build_ext
building 'Marsh' extension
gcc -pthread -B /home/mcgruderc/.conda/envs/access_py2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/mcgruderc/.conda/envs/access_py2/lib/python2.7/site-packages/numpy/core/include/numpy -I/share/apps/tools/gcc/7.3.0/include -I/home/mcgruderc/.conda/envs/access_py2/include/python2.7 -c Marsh.c -o build/temp.linux-x86_64-2.7/Marsh.o
Marsh.c:2:31: fatal error: numpy/arrayobject.h: No such file or directory
#include <numpy/arrayobject.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1`
Good day,
In an attempt to install ceres on a linux OS I keep running into the following issue:
` 2.- Building processes...
I've check the include/numpy/ directory and it does contain arrayobject.h so I'm a little confused why it's having trouble find it. I've even tried hard coding the setup.py file to point directly to the appropriate include/numpy/ directory with no avail. Please help.
The text was updated successfully, but these errors were encountered: