<div dir="ltr"><div>Have you considered virtual environments?<br><br><a href="http://docs.python-guide.org/en/latest/dev/virtualenvs/">http://docs.python-guide.org/en/latest/dev/virtualenvs/</a><br><br><br></div>Inside of each environment you can build a local python version and packages with different versions through pip. <br>Maybe not exactly what you need help with but it is a good tool to have so that you have less dependency issues.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 2:52 AM, Lahiru Samarakoon <span dir="ltr"><<a href="mailto:lahiruts@gmail.com" target="_blank">lahiruts@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Guys, any advice is highly appreciated. I am a little new to building in Linux.<br></div>Thanks,<br>Lahiru<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 11, 2014 at 9:43 AM, Lahiru Samarakoon <span dir="ltr"><<a href="mailto:lahiruts@gmail.com" target="_blank">lahiruts@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I switched to numpy-1.8.2. . Now getting following error. I am using  LAPACK that comes with atlast installation. Can this be a problem?<br><div><br>Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>  File "/home/svu/a0095654/.local/lib/python2.7/site-packages/numpy/__init__.py", line 170, in <module><br>    from . import add_newdocs<br>  File "/home/svu/a0095654/.local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module><br>    from numpy.lib import add_newdoc<br>  File "/home/svu/a0095654/.local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 18, in <module><br>    from .polynomial import *<br>  File "/home/svu/a0095654/.local/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 19, in <module><br>    from numpy.linalg import eigvals, lstsq, inv<br>  File "/home/svu/a0095654/.local/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 51, in <module><br>    from .linalg import *<br>  File "/home/svu/a0095654/.local/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 29, in <module><br>    from numpy.linalg import lapack_lite, _umath_linalg<br>ImportError: /home/svu/a0095654/.local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so: undefined symbol: zgesdd_<br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 11, 2014 at 1:30 AM, Julian Taylor <span dir="ltr"><<a href="mailto:jtaylor.debian@googlemail.com" target="_blank">jtaylor.debian@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 10.10.2014 19:26, Lahiru Samarakoon wrote:<br>
> Red Hat Enterprise Linux release 5.8<br>
> gcc (GCC) 4.1.2<br>
><br>
> I am also trying to install numpy 1.9.<br>
<br>
</span>that is the broken platform, please try the master branch or the<br>
maintenance/1.9.x branch, those should work now.<br>
<br>
Are there volunteers to report this to redhat?<br>
<span><br>
><br>
> On Sat, Oct 11, 2014 at 12:59 AM, Julian Taylor<br>
</span>> <<a href="mailto:jtaylor.debian@googlemail.com" target="_blank">jtaylor.debian@googlemail.com</a> <mailto:<a href="mailto:jtaylor.debian@googlemail.com" target="_blank">jtaylor.debian@googlemail.com</a>>><br>
<div><div>> wrote:<br>
><br>
>     On 10.10.2014 18:51, Lahiru Samarakoon wrote:<br>
>     > Dear all,<br>
>     ><br>
>     > I am trying to install numpy without root access. So I am building from<br>
>     > the source.  I have installed atlas which also has lapack with it.  I<br>
>     > changed the site.cfg file as given below<br>
>     ><br>
>     > [DEFAULT]<br>
>     > library_dirs = /home/svu/a0095654/ATLAS/build/lib<br>
>     > include_dirs = /home/svu/a0095654/ATLAS/build/include<br>
>     ><br>
>     ><br>
>     > However, I am getting a segmentation fault when importing numpy.<br>
>     ><br>
>     > Please advise. I also put the build log file at the end of the email if<br>
>     > necessary.<br>
><br>
><br>
>     Which platform are you working on? Which compiler version?<br>
>     We just solved a segfault on import on red hat 5 gcc 4.1.2. Very likely<br>
>     caused by a compiler bug. See <a href="https://github.com/numpy/numpy/issues/5163" target="_blank">https://github.com/numpy/numpy/issues/5163</a><br>
><br>
>     The build log is complaining about your atlas being to small, possibly<br>
>     the installation is broken?<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>