<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi Caroline,<div><br></div><div>Have you tried deleting the scipy installation and retrying from scratch? You should be able to clean up most of the old scipy installations by repeatedly running "pip uninstall scipy". If you're patient, you can also try the nuclear option of rerunning the install script from scratch.</div><div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 19, 2015 at 8:51 AM, Caroline Van Borm <span dir="ltr"><<a href="mailto:borm@astro.rug.nl" target="_blank">borm@astro.rug.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi all,<br>
<br>
Thank you all for your suggestions! It turns out that iraf is
installed on my work desktop and it somehow changes the F77
environment variable. After changing it back to /usr/bin/f77 I was
able to install SciPy. However, when I now try to do 'from
scipy.integrate import odeint' for example, I get the following
error message:<br>
<br>
<blockquote>In [2]: from scipy.interpolate import odeint<br>
---------------------------------------------------------------------------<br>
ImportError Traceback (most recent
call last)<br>
/data/users/borm/YT/yt-x86_64/src/yt-hg/scripts/iyt in
<module>()<br>
----> 1 from scipy.interpolate import odeint<br>
<br>
/data/users/borm/YT/yt-x86_64/lib/python2.7/site-packages/scipy/interpolate/__init__.py
in <module>()<br>
148 from __future__ import division, print_function,
absolute_import<br>
149<br>
--> 150 from .interpolate import *<br>
151 from .fitpack import *<br>
152<br>
<br>
/data/users/borm/YT/yt-x86_64/lib/python2.7/site-packages/scipy/interpolate/interpolate.py
in <module>()<br>
10 dot, poly1d, asarray, intp<br>
11 import numpy as np<br>
---> 12 import scipy.special as spec<br>
13 import math<br>
14<br>
<br>
/data/users/borm/YT/yt-x86_64/lib/python2.7/site-packages/scipy/special/__init__.py
in <module>()<br>
527 from __future__ import division, print_function,
absolute_import<br>
528<br>
--> 529 from ._ufuncs import *<br>
530 from ._ufuncs_cxx import *<br>
531<br>
<br>
ImportError:
/data/users/borm/YT/yt-x86_64/lib/python2.7/site-packages/scipy/special/_ufuncs.so:
undefined symbol: s_stop<br>
</blockquote>
<br>
It seems this is again related to the compiler, but I'm not sure
what to do about it. I have tried once more to set the NUMPY_ARGS
to the different options in the install script, and also to
install yt without SciPy and then install it using 'pip install
scipy', but every time I get the same error. My OS is Scientific
Linux 6, by the way.<br>
<br>
Cheers,<br>
Caroline<div><div class="h5"><br>
<br>
<br>
<br>
On 01/14/2015 05:32 PM, Peter Teuben wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div>I suspect this is a side-effect of
the iraf virus. I too have often run into the f77 trojan that
comes to light<br>
in some (all?) iraf installations, and configure doesn't deal
with it very well. <br>
<br>
<br>
On 01/13/2015 12:10 PM, Caroline Van Borm wrote:<br>
</div>
<blockquote type="cite">
Dear yt users,<br>
<br>
I'm having some trouble installing SciPy. I can install yt just
fine using the install script, but if I turn the option for
installing SciPy on, I get the following error:<br>
<blockquote>creating
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack<br>
compile options:
'-I/data/users/borm/YT/yt-x86_64/lib/python2.7/site-packages/numpy/core/include
-c'<br>
f77.sh:f77: scipy/fftpack/src/dfftpack/dsint.f<br>
Cannot open file dsint.f<br>
gcc: dsint.c: No such file or directory<br>
gcc: no input files<br>
Cannot open file dsint.f<br>
gcc: dsint.c: No such file or directory<br>
gcc: no input files<br>
error: Command "/iraf/iraf/unix/hlib//f77.sh -Wall
-ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
-I/data/users/borm/YT/yt-x86_64/lib/python2.7/site-packages/numpy/core/include
-c -c scipy/fftpack/src/dfftpack/dsint.f -o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsint.o"
failed with exit status 1<br>
</blockquote>
I've tried uncommenting the NUMPY_ARGS lines one by one as
suggested in the script, but none of that seems to work. <br>
I'm using yt version 2.6.1, changeset e0906fc5b6d5, if that
helps.<br>
<br>
Any ideas on how to fix this? Thanks!<br>
<br>
Cheers,<br>
Caroline<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
yt-users mailing list
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
yt-users mailing list
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>