Hello everybody, while compiling sfepy I found that makefile was not able to find a correct include directory for the numphy library. I had to change it by hand and it worked. I set: PYTHON_INCL := -I/usr/include/python$(PYVER) -I/usr/lib64/python2.4/ site-packages/numpy/core/include/
My Linux : uname -s -r -p -i -m Linux 2.6.18-92.1.6.el5 x86_64 x86_64 x86_64
The numphy library I compiled from the distribution numpy-1.1.1.tar.gz. I just followed their instruction: sudo python setup.py install.
Michael.
Hi Michael!
Michael wrote:
Hello everybody, while compiling sfepy I found that makefile was not able to find a correct include directory for the numphy library. I had to change it by hand and it worked. I set: PYTHON_INCL := -I/usr/include/python$(PYVER) -I/usr/lib64/python2.4/ site-packages/numpy/core/include/
My Linux : uname -s -r -p -i -m Linux 2.6.18-92.1.6.el5 x86_64 x86_64 x86_64
The numphy library I compiled from the distribution numpy-1.1.1.tar.gz. I just followed their instruction: sudo python setup.py install.
It's good you have figured out the right include dirs. What version of sfepy do you use? In the repository version, you need not to edit the Makefile, but instead you can set the compile options in site_cfg.py, which should have been created for you (copied from site_cfg_template.py) after you first tried to compile the code.
Let us know if you have further problems.
r.
participants (2)
-
Michael
-
Robert Cimrman