Closed SilvioGiancola closed 5 years ago
Seems like you are missing numpy dependencies (also see here). Have you installed and activated the anaconda environment as described in the readme?
Thanks for your support, I solved my problem with sudo apt-get install python-numpy
. Impressive demo!
Hey guys! Note for anyone else who comes across this problem and doesn't have sudo:
I ran python and got numpy's include directory as follows
>>>import numpy as np
>>>np.get_include()
/nethome/user/.../include
I then did
export CFLAGS="-I/nethome/user/.../include $CFLAGS"
And I was able to compile!
One thing that could also be done is on line 106-111 change to include numpy include directory:
setup(
ext_modules=cythonize(ext_modules),
include_dirs=[numpy_include_dir],
cmdclass={
'build_ext': BuildExtension
}
)
After that it works flawlessly
A simple fix to generalize @rmichnovicz and @dsvilarkovic 's ideas:
setup(
ext_modules=cythonize(ext_modules),
include_dirs=[numpy.get_include()],
cmdclass={
'build_ext': BuildExtension
}
)
One thing that could also be done is on line 106-111 change to include numpy include directory:
setup( ext_modules=cythonize(ext_modules), include_dirs=[numpy_include_dir], cmdclass={ 'build_ext': BuildExtension } )
After that it works flawlessly
where exactly to add?
One thing that could also be done is on line 106-111 change to include numpy include directory:
setup( ext_modules=cythonize(ext_modules), include_dirs=[numpy_include_dir], cmdclass={ 'build_ext': BuildExtension } )
After that it works flawlessly
where exactly to add?
In setup.py
replace lines 106-111 to the thing I wrote
Hi, I am getting the following error while compiling im2mesh on Ubuntu 16.04:
Any advice?