<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Nathan,<br>
      <br>
      I reran the install script from scratch every time, just to be
      safe. I think I actually may have it working now, after setting <br>
      NUMPY_ARGS="--fcompiler=g77". I've tried to load and use several
      SciPy functions and no errors so far. Hoping it stays that way!<br>
      <br>
      Thanks again!<br>
      <br>
      Cheers,<br>
      Caroline<br>
      <br>
      <br>
      On 01/20/2015 02:38 AM, Nathan Goldbaum wrote:<br>
    </div>
    <blockquote cite="mid:CAJXewOnAxrMy1WJOGP1A=LtMq=gkjjivcND=HdPHeHOntZzAZg@mail.gmail.com" type="cite">
      <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 moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
            <a moz-do-not-send="true" 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
yt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>